Merge branch 'wip-mdl-42560' of git://github.com/rajeshtaneja/moodle
[moodle.git] / admin / roles / override.php
index 00165d7..ab80e69 100644 (file)
@@ -139,8 +139,7 @@ if (optional_param('savechanges', false, PARAM_BOOL) && confirm_sesskey()) {
         array(
             'context' => $context,
             'objectid' => $roleid,
         array(
             'context' => $context,
             'objectid' => $roleid,
-            'courseid' => $courseid,
-            'other' => array('name' => $rolename)
+            'courseid' => $courseid
         )
     );
 
         )
     );