MDL-58439 admin: Ignore guest logins for all admin pages

This commit is contained in:
Brendan Heywood
2019-06-11 13:44:58 +10:00
parent f3507273e9
commit 1fc0c4bd4e
39 changed files with 48 additions and 73 deletions
+1 -1
View File
@@ -8236,7 +8236,7 @@ function admin_externalpage_setup($section, $extrabutton = '', array $extraurlpa
$PAGE->set_context(null); // hack - set context to something, by default to system context
$site = get_site();
require_login();
require_login(null, false);
if (!empty($options['pagelayout'])) {
// A specific page layout has been requested.