MDL-35385 mod_chat: made sure no message popups display within the chat window

This commit is contained in:
Andrew Davis
2013-04-30 09:10:11 +08:00
parent 5e00b9a6e7
commit fa15dda773
4 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ $context = get_context_instance(CONTEXT_MODULE, $cm->id);
require_login($course, false, $cm);
require_capability('mod/chat:chat', $context);
$PAGE->set_pagelayout('base');
$PAGE->set_popup_notification_allowed(false); // No popup notifications in the chat window
$PAGE->set_popup_notification_allowed(false);
/// Check to see if groups are being used here
if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used