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:
parent
3028edba7d
commit
0e2216096c
@ -31,7 +31,7 @@ public function executeAction() {
|
|||||||
'data' => array(
|
'data' => array(
|
||||||
'userID' => $this->user->userID,
|
'userID' => $this->user->userID,
|
||||||
'roomID' => null,
|
'roomID' => null,
|
||||||
'type' => self::SUSPENSION_TYPE,
|
'type' => static::SUSPENSION_TYPE,
|
||||||
'expires' => $this->expires,
|
'expires' => $this->expires,
|
||||||
'time' => TIME_NOW,
|
'time' => TIME_NOW,
|
||||||
'issuer' => WCF::getUser()->userID,
|
'issuer' => WCF::getUser()->userID,
|
||||||
|
@ -69,7 +69,7 @@ public function executeAction() {
|
|||||||
'data' => array(
|
'data' => array(
|
||||||
'userID' => $this->user->userID,
|
'userID' => $this->user->userID,
|
||||||
'roomID' => WCF::getUser()->chatRoomID,
|
'roomID' => WCF::getUser()->chatRoomID,
|
||||||
'type' => suspension\Suspension::TYPE_MUTE,
|
'type' => static::SUSPENSION_TYPE,
|
||||||
'expires' => $this->expires,
|
'expires' => $this->expires,
|
||||||
'time' => TIME_NOW,
|
'time' => TIME_NOW,
|
||||||
'issuer' => WCF::getUser()->userID,
|
'issuer' => WCF::getUser()->userID,
|
||||||
|
Loading…
Reference in New Issue
Block a user