summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-31 19:10:39 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-31 19:10:39 +0000
commitfa63e6fe6873a4133055c01e277a6b2ace28b759 (patch)
tree6e59c236c586379d571d506a6ce23eaea3a6af47 /includes/common.inc
parentd054bfaa01a6018ab6305806143dffe91ce8fb92 (diff)
downloadbrdo-fa63e6fe6873a4133055c01e277a6b2ace28b759.tar.gz
brdo-fa63e6fe6873a4133055c01e277a6b2ace28b759.tar.bz2
- Patch #305653 by donquixote, David_Rothstein, cdale, sun, snowball43, Dave Reid, JohnAlbin, aspilicious: themes disabled during update.
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc11
1 files changed, 1 insertions, 10 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 3460d1ad1..ecb89071e 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -6071,16 +6071,7 @@ function drupal_flush_all_caches() {
registry_rebuild();
drupal_clear_css_cache();
drupal_clear_js_cache();
-
- // If invoked from update.php, we must not update the theme information in the
- // database, or this will result in all themes being disabled.
- if (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'update') {
- _system_rebuild_theme_data();
- }
- else {
- system_rebuild_theme_data();
- }
-
+ system_rebuild_theme_data();
drupal_theme_rebuild();
menu_rebuild();
node_types_rebuild();