Ненужная переменная.
This commit is contained in:
@@ -24,14 +24,12 @@ $time = new DateTime();
|
||||
$time->modify("+ {$_POST['time']} day");
|
||||
(new \Moderation\Moderation($uu['id']))->depersonalize($time);
|
||||
|
||||
$rtxt = "Персонаж {$uu['login']} под подозрением до {$time->format('d M Y H:i')}.";
|
||||
$uer = "Персонаж {$uu['login']} под подозрением до {$time->format('d M Y H:i')}.";
|
||||
unset($time);
|
||||
|
||||
$cmsg = new ChatMessage();
|
||||
$cmsg->setRoom($u->info['room']);
|
||||
$cmsg->setText("[img[items/cui.gif]] $rtxt");
|
||||
$cmsg->setText("[img[items/cui.gif]] $uer");
|
||||
$cmsg->setType(6);
|
||||
$cmsg->setTypeTime(1);
|
||||
(new Chat())->sendMsg($cmsg);
|
||||
|
||||
$uer = $rtxt;
|
||||
|
||||
Reference in New Issue
Block a user