mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-29895 core: removed require_login() when not needed
This commit is contained in:
parent
6e2e63457e
commit
458453cee0
46 changed files with 2 additions and 93 deletions
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue