Commit 4e24aeb7 authored by catch's avatar catch

Issue #2829578 by damiankloip: Rebuild.php script uses array_walk incorrectly

parent 0e758739
......@@ -48,7 +48,7 @@
'wincache_ucache_clear',
'xcache_clear_cache',
];
array_walk(array_filter($user_caches, 'is_callable'), 'call_user_func');
array_map('call_user_func', array_filter($user_caches, 'is_callable'));
drupal_rebuild($autoloader, $request);
drupal_set_message('Cache rebuild complete.');
......
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