From 276997a183bcea6940c67900044d869058fd6ce4 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 8 Jun 2009 04:48:43 +0000 Subject: [PATCH] #236657 by swentel: Fix order of arguments in system_clear_cache_submit(). --- modules/system/system.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 5fe1c2424c41de6c..ba00245748438a26 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1380,7 +1380,7 @@ function system_performance_settings() { * * @ingroup forms */ -function system_clear_cache_submit(&$form_state, $form) { +function system_clear_cache_submit($form, &$form_state) { drupal_flush_all_caches(); drupal_set_message(t('Caches cleared.')); }