Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / update / update.install
index 4cff44c727d3953057834e1f65d864a5473f4710..e4294a0a9a335941ff089a525b8e6d3d0cad37d9 100644 (file)
@@ -158,4 +158,8 @@ function _update_requirement_check($project, $type) {
 function update_update_8001() {
   // Empty update forces a call to drupal_flush_all_caches() which rebuilds the
   // router.
+
+  // Use hook_post_update_NAME() instead to clear the cache.The use
+  // of hook_update_N to clear the cache has been deprecated see
+  // https://www.drupal.org/node/2960601 for more details.
 }