1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-01 14:20:07 +00:00
Tims-Chat/file/lib/data/suspension/SuspensionEditor.class.php

29 lines
816 B
PHP
Raw Normal View History

2012-05-19 19:25:50 +00:00
<?php
2013-01-19 19:36:40 +00:00
namespace chat\data\suspension;
2012-05-19 19:25:50 +00:00
use \wcf\system\WCF;
/**
* Provides functions to edit chat suspensions.
2014-02-28 16:06:50 +00:00
*
2012-05-19 19:25:50 +00:00
* @author Tim Düsterhus
2014-02-27 22:05:09 +00:00
* @copyright 2010-2014 Tim Düsterhus
2012-05-19 19:25:50 +00:00
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
2013-01-19 19:36:40 +00:00
* @package be.bastelstu.chat
2012-05-19 19:25:50 +00:00
* @subpackage data.chat.suspension
*/
2013-01-19 19:36:40 +00:00
class SuspensionEditor extends \wcf\data\DatabaseObjectEditor implements \wcf\data\IEditableCachedObject {
2012-05-19 19:25:50 +00:00
/**
* @see \wcf\data\DatabaseObjectDecorator::$baseClass
*/
2013-01-19 19:36:40 +00:00
protected static $baseClass = '\chat\data\suspension\Suspension';
2012-05-19 19:25:50 +00:00
/**
* Clears the suspension cache.
*/
public static function resetCache() {
$ush = \wcf\system\user\storage\UserStorageHandler::getInstance();
$ush->resetAll('chatSuspensions');
2012-05-19 19:25:50 +00:00
}
}