summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnAlbin2011-01-29 16:18:24 (GMT)
committer JohnAlbin2011-01-29 16:18:24 (GMT)
commitc37ef43290b7c824dcbfff3f1cf8254caa8a7372 (patch)
tree347b0e9553287b36437669a19d1aad74f3f540e6
parent58d1431f174c02b76d734a5758f5288ce447c124 (diff)
#1044586 by JohnAlbin: Fix "Rebuild theme registry" feature
-rw-r--r--CHANGELOG.txt1
-rw-r--r--template.php3
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 34d5183..f6dd81a 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,5 +1,6 @@
Zen 7.x-3.x-dev, xxxx-xx-xx (development release)
------------------------
+- #1044586: Fix "Rebuild theme registry" feature
- #923382: Conditional stylesheets should use drupal_add_css()
- #987916: Submitted by text doesn't use $submitted variable introduced in Drupal 7.0-rc1
- #978810 by bellHead: Region-specific template suggestions for sidebar regions always use region--sidebar.tpl.php
diff --git a/template.php b/template.php
index 1fe3668..c290f9a 100644
--- a/template.php
+++ b/template.php
@@ -13,7 +13,10 @@
// Auto-rebuild the theme registry during theme development.
if (theme_get_setting('zen_rebuild_registry')) {
+ // Rebuild .info data.
system_rebuild_theme_data();
+ // Rebuild theme registry.
+ drupal_theme_rebuild();
}