refactor and errors
This commit is contained in:
@@ -106,7 +106,7 @@ class Chat
|
||||
|
||||
public static function setCurrentTimeById(int $messageId): void
|
||||
{
|
||||
Db::sql('update chat set time = unix_timestamp() where id = ?)', [$messageId]);
|
||||
Db::sql('update chat set time = unix_timestamp() where id = ?', [$messageId]);
|
||||
}
|
||||
|
||||
public static function setCurrentTimeAndIdById(int $messageId, int $newMessageId): void
|
||||
|
||||
Reference in New Issue
Block a user