From 08c15b68d79bf9e761efcb5166214fda18b06d77 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 3 Sep 2006 18:49:13 +0000 Subject: [PATCH] removed useless includes --- admin/index.php | 2 -- 1 file changed, 2 deletions(-) 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); } -- 2.39.5