summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-28 18:18:50 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-28 18:18:50 +0000
commit78d4c09459af8e50174429b36182c3276230ded3 (patch)
treef68dff8c86f4a315000f7679d4ee0acfb9507281 /modules/system/system.admin.inc
parentffb760fa4978dd812469c99006e3bfc56290470a (diff)
downloadbrdo-78d4c09459af8e50174429b36182c3276230ded3.tar.gz
brdo-78d4c09459af8e50174429b36182c3276230ded3.tar.bz2
- Patch #808030 by dhthwy: new themes are not detected when visiting themes setting page without first clearing the cache manually.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 524b3e6b4..5ec6d5f42 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -200,7 +200,7 @@ function system_settings_overview() {
*/
function system_themes_page() {
// Get current list of themes.
- $themes = list_themes();
+ $themes = system_rebuild_theme_data();
uasort($themes, 'system_sort_modules_by_info_name');
$theme_default = variable_get('theme_default', 'garland');