Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / rebuild.php
index 689540bc44e433fe1fe910264fa07d197de00449..6f37360ca643d377d287f9170f5507daf65e37c5 100644 (file)
@@ -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);