From: Matthias Schmidt Date: Sat, 29 Dec 2012 14:08:44 +0000 (+0100) Subject: Fixes clearing of cache after user group edited X-Git-Tag: 2.0.0_Beta_1~657^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=62b69f36c88e9785a2c80ef5cc2f7ab07df42db4;p=GitHub%2FWoltLab%2FWCF.git Fixes clearing of cache after user group edited Currently, the user group option cache isn't cleared. This way, it is ensured, that whenever a user group is edited, the all user group related caches are cleared. --- diff --git a/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php b/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php index 0b1bc2733b..54600040d9 100644 --- a/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php +++ b/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php @@ -180,7 +180,7 @@ class UserGroupEditor extends DatabaseObjectEditor implements IEditableCachedObj */ public static function resetCache() { // clear cache - CacheHandler::getInstance()->clear(WCF_DIR.'cache/', 'cache.userGroup.php'); + CacheHandler::getInstance()->clear(WCF_DIR.'cache/', 'cache.userGroup*'); // clear sessions SessionHandler::resetSessions();