Permalink
Browse files

Merge branch 'MDL-13805_others_messages_23' of git://github.com/andyj…

…davis/moodle into MOODLE_23_STABLE
  • Loading branch information...
2 parents 2cc9648 + db30e0b commit 07f3c79dd4684d3633da524fe4028abb414dd0ab Sam Hemelryk committed Jan 30, 2013
Showing with 0 additions and 7 deletions.
  1. +0 −1 message/edit.php
  2. +0 −6 message/index.php
View
@@ -45,7 +45,6 @@
$systemcontext = get_context_instance(CONTEXT_SYSTEM);
$personalcontext = get_context_instance(CONTEXT_USER, $user->id);
-$coursecontext = get_context_instance(CONTEXT_COURSE, $course->id);
$PAGE->set_context($personalcontext);
$PAGE->set_pagelayout('course');
View
@@ -83,18 +83,12 @@
$PAGE->set_url($url);
-$PAGE->set_context(get_context_instance(CONTEXT_USER, $USER->id));
-$PAGE->navigation->extend_for_user($USER);
-$PAGE->set_pagelayout('course');
-
$navigationurl = new moodle_url('/message/index.php', array('user1' => $user1id));
navigation_node::override_active_url($navigationurl);
// 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;
$currentuser = true;
$showactionlinks = true;

0 comments on commit 07f3c79

Please sign in to comment.