Mercurial > hg > isophonics-drupal-site
comparison core/rebuild.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
49 'xcache_clear_cache', | 49 'xcache_clear_cache', |
50 ]; | 50 ]; |
51 array_map('call_user_func', array_filter($user_caches, 'is_callable')); | 51 array_map('call_user_func', array_filter($user_caches, 'is_callable')); |
52 | 52 |
53 drupal_rebuild($autoloader, $request); | 53 drupal_rebuild($autoloader, $request); |
54 drupal_set_message('Cache rebuild complete.'); | 54 \Drupal::messenger()->addStatus('Cache rebuild complete.'); |
55 } | 55 } |
56 $base_path = dirname(dirname($request->getBaseUrl())); | 56 $base_path = dirname(dirname($request->getBaseUrl())); |
57 header('Location: ' . $base_path); | 57 header('Location: ' . $base_path); |