X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Frebuild.php;h=6f37360ca643d377d287f9170f5507daf65e37c5;hb=f3baf763d342a5f82576890e2a8111a5aaf139dc;hp=689540bc44e433fe1fe910264fa07d197de00449;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/rebuild.php b/web/core/rebuild.php index 689540bc4..6f37360ca 100644 --- a/web/core/rebuild.php +++ b/web/core/rebuild.php @@ -51,7 +51,7 @@ if (Settings::get('rebuild_access', FALSE) || 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);