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

Fix RestoreCommand

This commit is contained in:
Tim Düsterhus 2013-05-26 17:24:44 +02:00
parent c8a4981f90
commit 48ea060476

View File

@ -30,6 +30,11 @@ public function __construct(\chat\system\command\CommandHandler $commandHandler)
));
$this->link = "[url='".$profile."']".$this->user->username.'[/url]';
$editor = new \wcf\data\user\UserEditor($this->user);
$editor->update(array(
'chatColor1' => 0,
'chatColor2' => 0
));
$this->didInit();
}