From 43afd60d00f2ce5fc7201902181cb115ab341234 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 10 Mar 2025 16:05:02 +0100 Subject: [PATCH] issue #2335 whatever the API method called from admin, do not rebuild user_cache --- include/user.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/include/user.inc.php b/include/user.inc.php index 243b220fc..c3be8418f 100644 --- a/include/user.inc.php +++ b/include/user.inc.php @@ -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']) )