From 7e36d33b010bfa280819950513863a4a81b45be6 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 21 May 2012 16:38:12 +0200 Subject: [PATCH] Removing classes that are already loaded using Autoload --- main/admin/index.php | 1 - main/admin/settings.php | 3 --- main/admin/user_list.php | 1 - main/social/profile.php | 1 - 4 files changed, 6 deletions(-) diff --git a/main/admin/index.php b/main/admin/index.php index 0ec4d8c5da..ec9eec6020 100644 --- a/main/admin/index.php +++ b/main/admin/index.php @@ -15,7 +15,6 @@ $cidReset = true; // Including some necessary chamilo files. require_once '../inc/global.inc.php'; require_once api_get_path(SYS_CODE_PATH).'admin/statistics/statistics.lib.php'; -require_once api_get_path(LIBRARY_PATH).'urlmanager.lib.php'; // Setting the section (for the tabs). $this_section = SECTION_PLATFORM_ADMIN; diff --git a/main/admin/settings.php b/main/admin/settings.php index 0a68e04a9c..d371ecf285 100644 --- a/main/admin/settings.php +++ b/main/admin/settings.php @@ -29,9 +29,6 @@ $cidReset = true; require_once '../inc/global.inc.php'; require_once api_get_path(LIBRARY_PATH).'fileManage.lib.php'; require_once api_get_path(LIBRARY_PATH).'fileUpload.lib.php'; -require_once api_get_path(LIBRARY_PATH).'dashboard.lib.php'; -require_once api_get_path(LIBRARY_PATH).'pdf.lib.php'; -require_once api_get_path(LIBRARY_PATH).'plugin.lib.php'; require_once 'settings.lib.php'; // Setting the section (for the tabs). diff --git a/main/admin/user_list.php b/main/admin/user_list.php index 1200db0f49..fa0740e30a 100644 --- a/main/admin/user_list.php +++ b/main/admin/user_list.php @@ -10,7 +10,6 @@ $language_file = array ('registration','admin'); $cidReset = true; require_once '../inc/global.inc.php'; -require_once api_get_path(LIBRARY_PATH).'urlmanager.lib.php'; global $_configuration; diff --git a/main/social/profile.php b/main/social/profile.php index 1f2998ff6c..5619d75a4f 100644 --- a/main/social/profile.php +++ b/main/social/profile.php @@ -10,7 +10,6 @@ $language_file = array('userInfo', 'index'); $cidReset = true; require_once '../inc/global.inc.php'; -require_once api_get_path(LIBRARY_PATH).'group_portal_manager.lib.php'; if (api_get_setting('allow_social_tool') !='true') { $url = api_get_path(WEB_PATH).'whoisonline.php?id='.intval($_GET['u']);