issue #2335 whatever the API method called from admin, do not rebuild user_cache

This commit is contained in:
plegall 2025-03-10 16:05:02 +01:00
parent 02653495ee
commit 43afd60d00

View file

@ -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'])
)