mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-25 22:10:08 +00:00
29 lines
849 B
PHP
29 lines
849 B
PHP
|
<?php
|
||
|
namespace wcf\data\chat\room;
|
||
|
|
||
|
/**
|
||
|
* Executes chatroom-related actions.
|
||
|
*
|
||
|
* @author Tim Düsterhus
|
||
|
* @copyright 2010-2012 Tim Düsterhus
|
||
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
||
|
* @package timwolla.wcf.chat
|
||
|
* @subpackage data.chat.room
|
||
|
*/
|
||
|
class ChatRoomAction extends \wcf\data\AbstractDatabaseObjectAction {
|
||
|
/**
|
||
|
* @see wcf\data\AbstractDatabaseObjectAction::$className
|
||
|
*/
|
||
|
protected $className = '\wcf\data\chat\room\ChatRoomEditor';
|
||
|
|
||
|
/**
|
||
|
* @see wcf\data\AbstractDatabaseObjectAction::$permissionsDelete
|
||
|
*/
|
||
|
protected $permissionsDelete = array('admin.content.chat.canDeleteRoom');
|
||
|
|
||
|
/**
|
||
|
* @see wcf\data\AbstractDatabaseObjectAction::$permissionsUpdate
|
||
|
*/
|
||
|
protected $permissionsUpdate = array('admin.content.chat.canEditRoom');
|
||
|
}
|