From e0c6a8dd465aec42cd69f8b665863334b8ba2c52 Mon Sep 17 00:00:00 2001
From: Bram Goffings <bramgoffings@gmail.com>
Date: Fri, 3 Aug 2012 23:17:00 +0200
Subject: [PATCH] Issue #1712456: hook_flush_caches() was renamed to
 hook_cache_flush().

---
 views.module | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/views.module b/views.module
index 1899d6abfd38..4d005ae8ce12 100644
--- a/views.module
+++ b/views.module
@@ -917,9 +917,9 @@ function views_language_list($field = 'name', $all = FALSE) {
 }
 
 /**
- * Implements hook_flush_caches().
+ * Implements hook_cache_flush().
  */
-function views_flush_caches() {
+function views_cache_flush() {
   return array('cache_views', 'cache_views_data');
 }
 
-- 
GitLab