Merge branch 'MDL-31432_messaging_popup' of git://github.com/andyjdavis/moodle

This commit is contained in:
Sam Hemelryk 2012-02-20 16:58:36 +13:00
commit a77fbf44da

View File

@ -87,6 +87,9 @@ $PAGE->set_context(get_context_instance(CONTEXT_USER, $USER->id));
$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;