mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
A beep is a ping. ;-)
This commit is contained in:
parent
48bae72ffb
commit
a808a06f88
@ -43,6 +43,9 @@ if (isset($_GET['beep'])) {
|
||||
if (!insert_record("chat_messages", $message)) {
|
||||
error("Could not insert a chat message!");
|
||||
}
|
||||
|
||||
$chatuser->lastping = time(); // A beep is a ping ;-)
|
||||
update_record("chat_users", $chatuser);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user