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:
parent
c8a4981f90
commit
48ea060476
@ -30,6 +30,11 @@ public function __construct(\chat\system\command\CommandHandler $commandHandler)
|
|||||||
));
|
));
|
||||||
$this->link = "[url='".$profile."']".$this->user->username.'[/url]';
|
$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();
|
$this->didInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user