mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 11:56:40 +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,6 @@ admin_externalpage_setup('toolhttpsreplace');
|
|||
|
||||
$context = context_system::instance();
|
||||
|
||||
require_login();
|
||||
require_capability('moodle/site:config', $context);
|
||||
|
||||
$PAGE->set_context($context);
|
||||
$PAGE->set_url(new moodle_url('/admin/tool/httpsreplace/index.php'));
|
||||
$PAGE->set_title(get_string('pageheader', 'tool_httpsreplace'));
|
||||
|
|
|
@ -32,9 +32,6 @@ admin_externalpage_setup('toolhttpsreplace');
|
|||
|
||||
$context = context_system::instance();
|
||||
|
||||
require_login();
|
||||
require_capability('moodle/site:config', $context);
|
||||
|
||||
$PAGE->set_context($context);
|
||||
$PAGE->set_url(new moodle_url('/admin/tool/httpsreplace/index.php'));
|
||||
$PAGE->set_title(get_string('pageheader', 'tool_httpsreplace'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue