Commit 2920848d authored by Dries's avatar Dries
Browse files

- Patch #276615 by mikeytown2: only clear the CSS cache when submitting the...

- Patch #276615 by mikeytown2: only clear the CSS cache when submitting the form, not when displaying the form.
parent 82aacc0c
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment