diff --git a/Web/Models/Entities/User.php b/Web/Models/Entities/User.php index ace69699..ed1e3e60 100644 --- a/Web/Models/Entities/User.php +++ b/Web/Models/Entities/User.php @@ -1009,6 +1009,15 @@ class User extends RowModel return true; } + function updOnline(string $platform): bool + { + $this->setOnline(time()); + $this->setClient_name($platform); + $this->save(); + + return true; + } + function changeEmail(string $email): void { DatabaseConnection::i()->getContext()->table("ChandlerUsers")