Mercurial > hg > cmmr2012-drupal-site
diff core/rebuild.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children | 12f9dff5fda9 |
line wrap: on
line diff
--- a/core/rebuild.php Thu Feb 28 11:14:44 2019 +0000 +++ b/core/rebuild.php Thu Feb 28 13:11:55 2019 +0000 @@ -51,7 +51,7 @@ array_map('call_user_func', array_filter($user_caches, 'is_callable')); drupal_rebuild($autoloader, $request); - drupal_set_message('Cache rebuild complete.'); + \Drupal::messenger()->addStatus('Cache rebuild complete.'); } $base_path = dirname(dirname($request->getBaseUrl())); header('Location: ' . $base_path);