mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
Merge branch 'wip-MDL-27958-master' of git://github.com/samhemelryk/moodle
This commit is contained in:
commit
fcb36b65ec
@ -34,6 +34,7 @@ list($context, $course, $cm) = get_context_info_array($contextid);
|
||||
/// Check login and permissions.
|
||||
require_login($course, false, $cm);
|
||||
require_capability('moodle/filter:manage', $context);
|
||||
$PAGE->set_context($context);
|
||||
|
||||
$args = array('contextid'=>$contextid);
|
||||
$baseurl = new moodle_url('/filter/manage.php', $args);
|
||||
|
Loading…
x
Reference in New Issue
Block a user