MDL-21386 readding require_login() which I accidentally removed during one previous cleanup, sorry

This commit is contained in:
Petr Skoda
2010-01-20 08:41:07 +00:00
parent a3103a10b3
commit 9fcb81adae
+1
View File
@@ -5181,6 +5181,7 @@ function admin_externalpage_setup($section, $extrabutton = '',
global $CFG, $PAGE, $USER;
$site = get_site();
require_login();
$adminroot = admin_get_root(false, false); // settings not required for external pages
$extpage = $adminroot->locate($section);