mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
issue #2335 whatever the API method called from admin, do not rebuild user_cache
This commit is contained in:
@@ -79,7 +79,6 @@ if (defined('IN_ADMIN') and IN_ADMIN)
|
||||
}
|
||||
elseif (
|
||||
isset($_REQUEST['method'])
|
||||
and 'pwg.images.setInfo' == $_REQUEST['method']
|
||||
and isset($_SERVER['HTTP_REFERER'])
|
||||
and preg_match('/\/admin\.php\?page=/', $_SERVER['HTTP_REFERER'])
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user