mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +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
|
@ -39,7 +39,6 @@ $previewrows = optional_param('previewrows', 10, PARAM_INT);
|
|||
core_php_time_limit::raise(60*60); // 1 hour should be enough
|
||||
raise_memory_limit(MEMORY_HUGE);
|
||||
|
||||
require_login();
|
||||
admin_externalpage_setup('tooluploaduser');
|
||||
require_capability('moodle/site:uploadusers', context_system::instance());
|
||||
|
||||
|
|
|
@ -36,8 +36,6 @@ define ('PIX_FILE_SKIPPED', 2);
|
|||
|
||||
admin_externalpage_setup('tooluploaduserpictures');
|
||||
|
||||
require_login();
|
||||
|
||||
require_capability('tool/uploaduser:uploaduserpictures', context_system::instance());
|
||||
|
||||
$site = get_site();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue