* @package timwolla.wcf.chat * @subpackage data.chat.room */ class ChatRoomEditor extends \wcf\data\DatabaseObjectEditor implements \wcf\data\IEditableCachedObject { /** * @see wcf\data\DatabaseObjectDecorator::$baseClass */ protected static $baseClass = '\wcf\data\chat\room\ChatRoom'; /** * Clears the room cache. */ public static function resetCache() { self::getCache(); CacheHandler::getInstance()->clearResource('chatrooms'); } }