summaryrefslogtreecommitdiff
path: root/includes/install.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-08-30 19:54:22 +0000
committerDries Buytaert <dries@buytaert.net>2007-08-30 19:54:22 +0000
commit00181ecb3958c67758d830e93b3bfc4d220a2d2d (patch)
tree451e4b4aff8d501a73dbb8095e8521b965a1e758 /includes/install.inc
parent78236ada52096956f6f4693dc74163929687e31f (diff)
downloadbrdo-00181ecb3958c67758d830e93b3bfc4d220a2d2d.tar.gz
brdo-00181ecb3958c67758d830e93b3bfc4d220a2d2d.tar.bz2
- Removing whitespace.
Diffstat (limited to 'includes/install.inc')
-rw-r--r--includes/install.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/install.inc b/includes/install.inc
index 8676b03bc..73ce2c263 100644
--- a/includes/install.inc
+++ b/includes/install.inc
@@ -353,7 +353,7 @@ function drupal_install_modules($module_list = array()) {
function drupal_uninstall_module($module) {
module_load_install($module);
module_invoke($module, 'uninstall');
-
+
// Remove menu links for paths declared by this module.
drupal_load('module', $module);
$paths = module_invoke($module, 'menu');
@@ -370,7 +370,7 @@ function drupal_uninstall_module($module) {
$paths[$index] = implode('/', $parts);
}
$placeholders = implode(', ', array_fill(0, count($paths), "'%s'"));
-
+
$result = db_query('SELECT * FROM {menu_links} WHERE router_path IN ('. $placeholders .') AND external = 0 ORDER BY depth DESC', $paths);
// Remove all such items. Starting from those with the greatest depth will
// minimize the amount of re-parenting done by menu_link_delete().