From cd89994d88ebe6663af8c3c1c257fec250fd36e9 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Mon, 26 Mar 2012 16:32:18 +0200 Subject: [PATCH] MDL-20438 getting rid of left to-do notes --- lib/pluginlib.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/pluginlib.php b/lib/pluginlib.php index 845de2ee8ff..758d0bddf23 100644 --- a/lib/pluginlib.php +++ b/lib/pluginlib.php @@ -1277,10 +1277,8 @@ class available_update_checker { $message->fullmessage = $text; $message->fullmessageformat = FORMAT_PLAIN; $message->fullmessagehtml = $html; - $message->smallmessage = 'TODO'; - $message->notification = 0; - $message->contexturl = 'http://glum/admin/TODO'; - $message->contexturlname = 'View details TODO'; + $message->smallmessage = get_string('updatenotifications', 'core_admin'); + $message->notification = 1; message_send($message); } }