MDL-29895 core: removed require_login() when not needed

This commit is contained in:
Charles YVANES 2018-09-10 10:58:11 +02:00
parent 6e2e63457e
commit 458453cee0
46 changed files with 2 additions and 93 deletions

View file

@ -28,10 +28,6 @@ require_once($CFG->libdir . '/adminlib.php');
$action = optional_param('action', '', PARAM_ALPHA);
$filterpath = optional_param('filterpath', '', PARAM_PLUGIN);
require_login();
$systemcontext = context_system::instance();
require_capability('moodle/site:config', $systemcontext);
admin_externalpage_setup('managefilters');
// Clean up bogus filter states first.