* @package be.bastelstu.wcf.chat * @subpackage data.chat.suspension */ class ChatSuspensionEditor extends \wcf\data\DatabaseObjectEditor implements \wcf\data\IEditableCachedObject { /** * @see \wcf\data\DatabaseObjectDecorator::$baseClass */ protected static $baseClass = '\wcf\data\chat\suspension\ChatSuspension'; /** * Clears the suspension cache. */ public static function resetCache() { $packageID = \wcf\util\ChatUtil::getPackageID(); $ush = \wcf\system\user\storage\UserStorageHandler::getInstance(); $ush->resetAll('suspensions', $packageID); } }