mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Remove obsolete code
This commit is contained in:
parent
738d1693cf
commit
22e6b6ea29
@ -36,7 +36,6 @@ public function __construct(\chat\system\command\CommandHandler $commandHandler)
|
|||||||
$this->user = User::getUserByUsername($username);
|
$this->user = User::getUserByUsername($username);
|
||||||
if (!$this->user->userID) throw new \chat\system\command\UserNotFoundException($username);
|
if (!$this->user->userID) throw new \chat\system\command\UserNotFoundException($username);
|
||||||
|
|
||||||
$color = ChatUtil::readUserData('color', $this->user);
|
|
||||||
$profile = \wcf\system\request\LinkHandler::getInstance()->getLink('User', array(
|
$profile = \wcf\system\request\LinkHandler::getInstance()->getLink('User', array(
|
||||||
'object' => $this->user
|
'object' => $this->user
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user