From d3674ef70bcc679336ce370a158f7f54f266423a Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 18 Sep 2010 11:27:06 +0000 Subject: [PATCH] removed bogus code + spelling fix --- lib/messagelib.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/messagelib.php b/lib/messagelib.php index bf3ce6d268a..fc2250feb21 100644 --- a/lib/messagelib.php +++ b/lib/messagelib.php @@ -95,12 +95,10 @@ function message_send($eventdata) { } } - // if we are suposed to do something with this message + // if we are supposed to do something with this message // No processor for this message, mark it as read if ($processor == "") { //this user cleared all the preferences $savemessage->timeread = time(); - $messageid = $message->id; - unset($message->id); $DB->insert_record('message_read', $savemessage); } else { // Process the message -- 2.43.0