From 4fca5a6412a4315fcc6f1071bff820d20f94ee99 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 29 Nov 2009 06:32:46 +0000 Subject: [PATCH] - Patch #645468 by sun: filter module no longer needs to be loaded by default. --- includes/theme.maintenance.inc | 2 -- install.php | 2 -- update.php | 2 -- 3 files changed, 6 deletions(-) diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index 7b05fcb96d07..a9b50bca5326 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -40,10 +40,8 @@ function _drupal_maintenance_theme() { // Because we are operating in a crippled environment, we need to // bootstrap just enough to allow hook invocations to work. $module_list['system']['filename'] = 'modules/system/system.module'; - $module_list['filter']['filename'] = 'modules/filter/filter.module'; module_list(TRUE, FALSE, FALSE, $module_list); drupal_load('module', 'system'); - drupal_load('module', 'filter'); } $custom_theme = variable_get('maintenance_theme', 'minnelli'); diff --git a/install.php b/install.php index 6e9e87ff445b..9566ab0437b0 100644 --- a/install.php +++ b/install.php @@ -251,11 +251,9 @@ function install_begin_request(&$install_state) { include_once DRUPAL_ROOT . '/includes/entity.inc'; $module_list['system']['filename'] = 'modules/system/system.module'; - $module_list['filter']['filename'] = 'modules/filter/filter.module'; $module_list['user']['filename'] = 'modules/user/user.module'; module_list(TRUE, FALSE, FALSE, $module_list); drupal_load('module', 'system'); - drupal_load('module', 'filter'); drupal_load('module', 'user'); // Load the cache infrastructure using a "fake" cache implementation that diff --git a/update.php b/update.php index 9ad5092f6827..9cfef2b7cd49 100644 --- a/update.php +++ b/update.php @@ -311,10 +311,8 @@ if (empty($op) && update_access_allowed()) { // Load module basics. include_once DRUPAL_ROOT . '/includes/module.inc'; $module_list['system']['filename'] = 'modules/system/system.module'; - $module_list['filter']['filename'] = 'modules/filter/filter.module'; module_list(TRUE, FALSE, FALSE, $module_list); drupal_load('module', 'system'); - drupal_load('module', 'filter'); // Reset the module_implements() cache so that any new hook implementations // in updated code are picked up.