summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system')
-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 5425ae15f..032827852 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -139,7 +139,6 @@ function system_settings_overview() {
* @see system_themes_form_submit()
*/
function system_themes_form() {
- drupal_clear_css_cache();
$themes = system_get_theme_data();
uasort($themes, 'system_sort_modules_by_info_name');
@@ -240,6 +239,7 @@ function system_themes_form() {
* Process system_themes_form form submissions.
*/
function system_themes_form_submit($form, &$form_state) {
+ drupal_clear_css_cache();
// Store list of previously enabled themes and disable all themes
$old_theme_list = $new_theme_list = array();