Commit 276997a1 authored by webchick's avatar webchick

#236657 by swentel: Fix order of arguments in system_clear_cache_submit().

parent 5d58e916
......@@ -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.'));
}
......
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