1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Use static:: instead of self::

This commit is contained in:
Maximilian Mader 2013-06-22 02:40:03 +02:00
parent 3028edba7d
commit 0e2216096c
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ public function executeAction() {
'data' => array(
'userID' => $this->user->userID,
'roomID' => null,
'type' => self::SUSPENSION_TYPE,
'type' => static::SUSPENSION_TYPE,
'expires' => $this->expires,
'time' => TIME_NOW,
'issuer' => WCF::getUser()->userID,

View File

@ -69,7 +69,7 @@ public function executeAction() {
'data' => array(
'userID' => $this->user->userID,
'roomID' => WCF::getUser()->chatRoomID,
'type' => suspension\Suspension::TYPE_MUTE,
'type' => static::SUSPENSION_TYPE,
'expires' => $this->expires,
'time' => TIME_NOW,
'issuer' => WCF::getUser()->userID,