summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-27 23:15:41 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-11-27 23:15:41 +0000
commit437a49829500ce1847159035099d91be3e775244 (patch)
tree8dd9cdf2ce1b9a080633dbe1d0252c0171aa6049 /modules/system/system.install
parent706a462c892c42917cd6cbb0640000a4b813f519 (diff)
downloadbrdo-437a49829500ce1847159035099d91be3e775244.tar.gz
brdo-437a49829500ce1847159035099d91be3e775244.tar.bz2
#97271 by Jaza. Ensure that hooks are not invoked for newly-disabled modules.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 9bb327b5e..7444b4893 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -3329,7 +3329,7 @@ function system_update_1010() {
// Disable urlfilter.module, if it exists.
if (module_exists('urlfilter')) {
- module_disable('urlfilter');
+ module_disable(array('urlfilter'));
$ret[] = update_sql("UPDATE {filter_formats} SET module = 'filter', delta = 3 WHERE module = 'urlfilter'");
$ret[] = t('URL Filter module was disabled; this functionality has now been added to core.');
}