From: skodak Date: Sun, 3 Sep 2006 18:49:13 +0000 (+0000) Subject: removed useless includes X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=08c15b68d79bf9e761efcb5166214fda18b06d77;p=moodle.git removed useless includes --- diff --git a/admin/index.php b/admin/index.php index 2aa6d0a8b3..1476f279fc 100644 --- a/admin/index.php +++ b/admin/index.php @@ -363,8 +363,6 @@ //add admin_tree block to site if not already present if ($admintree = get_record('block', 'name', 'admin_tree')) { - require_once("$CFG->dirroot/$CFG->admin/pagelib.php"); - require_once($CFG->libdir.'/blocklib.php'); $page = page_create_object(PAGE_COURSE_VIEW, SITEID); blocks_execute_action($page, blocks_get_by_page($page), 'add', (int)$admintree->id, false, false); }