namespace wcf\data\user;
use wcf\data\user\group\UserGroup;
use wcf\data\DatabaseObjectEditor;
+use wcf\data\IEditableCachedObject;
use wcf\system\clipboard\ClipboardHandler;
+use wcf\system\session\SessionHandler;
use wcf\system\WCF;
use wcf\util\StringUtil;
* @subpackage data.user
* @category Community Framework
*/
-class UserEditor extends DatabaseObjectEditor {
+class UserEditor extends DatabaseObjectEditor implements IEditableCachedObject {
/**
* @see wcf\data\DatabaseObjectDecorator::$baseClass
*/
}
}
}
+
+ /**
+ * @see wcf\data\IEditableCachedObject::resetCache()
+ */
+ public static function resetCache() {
+ SessionHandler::resetSessions();
+ }
}