From 9ac860c9f1191def47868e155bfa8d37afab1378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 21 Jun 2013 19:50:55 +0300 Subject: [PATCH] Fix AwayCommand --- file/lib/system/command/commands/AwayCommand.class.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/file/lib/system/command/commands/AwayCommand.class.php b/file/lib/system/command/commands/AwayCommand.class.php index b7d0518..fb0eff0 100644 --- a/file/lib/system/command/commands/AwayCommand.class.php +++ b/file/lib/system/command/commands/AwayCommand.class.php @@ -36,11 +36,4 @@ public function getType() { public function getMessage() { return \wcf\system\bbcode\PreParser::getInstance()->parse($this->commandHandler->getParameters(), explode(',', WCF::getSession()->getPermission('user.chat.allowedBBCodes'))); } - - /** - * @see \chat\system\command\ICommand::getReceiver() - */ - public function getReceiver() { - return WCF::getUser()->userID; - } }