From 0e2216096cce26d67f9ba93163ab5527f8020ac6 Mon Sep 17 00:00:00 2001 From: Maximilian Mader Date: Sat, 22 Jun 2013 02:40:03 +0200 Subject: [PATCH] Use static:: instead of self:: --- file/lib/system/command/commands/GmuteCommand.class.php | 2 +- file/lib/system/command/commands/MuteCommand.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/file/lib/system/command/commands/GmuteCommand.class.php b/file/lib/system/command/commands/GmuteCommand.class.php index 812012c..02e76d5 100644 --- a/file/lib/system/command/commands/GmuteCommand.class.php +++ b/file/lib/system/command/commands/GmuteCommand.class.php @@ -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, diff --git a/file/lib/system/command/commands/MuteCommand.class.php b/file/lib/system/command/commands/MuteCommand.class.php index 59f2072..3cddd32 100644 --- a/file/lib/system/command/commands/MuteCommand.class.php +++ b/file/lib/system/command/commands/MuteCommand.class.php @@ -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,