mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02: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 (
|
elseif (
|
||||||
isset($_REQUEST['method'])
|
isset($_REQUEST['method'])
|
||||||
and 'pwg.images.setInfo' == $_REQUEST['method']
|
|
||||||
and isset($_SERVER['HTTP_REFERER'])
|
and isset($_SERVER['HTTP_REFERER'])
|
||||||
and preg_match('/\/admin\.php\?page=/', $_SERVER['HTTP_REFERER'])
|
and preg_match('/\/admin\.php\?page=/', $_SERVER['HTTP_REFERER'])
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user