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

@ -29,9 +29,7 @@ require_once($CFG->libdir.'/adminlib.php');
$action = optional_param('action', '', PARAM_ALPHANUMEXT);
$syscontext = context_system::instance();
require_login();
admin_externalpage_setup('toolunsuproles'); // checks permissions specified in settings.php
if ($action === 'delete') {