]> git.mjollnir.org Git - moodle.git/commitdiff
Passing cleanup
authormoodler <moodler>
Fri, 15 Sep 2006 09:04:23 +0000 (09:04 +0000)
committermoodler <moodler>
Fri, 15 Sep 2006 09:04:23 +0000 (09:04 +0000)
admin/blocks.php

index 4ea075ac05779415441c6a13ac567daba8e17666..d65f575cdbdeec62c0843d71a22c5c1b842d63fd 100644 (file)
@@ -4,10 +4,10 @@
 
     require_once('../config.php');
     require_once($CFG->libdir.'/adminlib.php');
-    $adminroot = admin_get_root();
-    admin_externalpage_setup('manageblocks', $adminroot);
     require_once($CFG->libdir.'/blocklib.php');
     require_once($CFG->libdir.'/tablelib.php');
+    $adminroot = admin_get_root();
+    admin_externalpage_setup('manageblocks', $adminroot);
 
     $confirm  = optional_param('confirm', 0, PARAM_BOOL);
     $hide     = optional_param('hide', 0, PARAM_INT);