Permalink
Browse files

Merge branch 'MDL-28187_messaging_nav_21' of git://github.com/andyjda…

…vis/moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents 5a7722e + 9d014d7 commit b7fa2f915399cecb7763637d9e9386c76e1e76a1 Sam Hemelryk committed Mar 19, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 message/edit.php
View
@@ -31,12 +31,9 @@
$disableall = optional_param('disableall', 0, PARAM_BOOL); //disable all of this user's notifications
$url = new moodle_url('/message/edit.php');
-if ($userid !== $USER->id) {
- $url->param('id', $userid);
-}
-if ($course != SITEID) {
- $url->param('course', $course);
-}
+$url->param('id', $userid);
+$url->param('course', $course);
+
$PAGE->set_url($url);
if (!$course = $DB->get_record('course', array('id' => $course))) {

0 comments on commit b7fa2f9

Please sign in to comment.