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

@ -50,8 +50,6 @@ if (!isset($SESSION->xmldb)) {
// Some previous checks
$site = get_site();
require_login();
require_capability('moodle/site:config', context_system::instance());
// Body of the script, based on action, we delegate the work
$action = optional_param ('action', 'main_view', PARAM_ALPHAEXT);