Permalink
Browse files

MDL-31432 message: prevent messaging popups while viewing messages

  • Loading branch information...
1 parent 4d2f89f commit e6510e09201a206e3d17de822bb7f87767c642a6 @andyjdavis andyjdavis committed Feb 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 message/index.php
View
3 message/index.php
@@ -87,6 +87,9 @@
$PAGE->navigation->extend_for_user($USER);
$PAGE->set_pagelayout('course');
+// Disable message notification popups while the user is viewing their messages
+$PAGE->set_popup_notification_allowed(false);
+
$context = get_context_instance(CONTEXT_SYSTEM);
$user1 = null;

0 comments on commit e6510e0

Please sign in to comment.