Issue #1712456: hook_flush_caches() was renamed to hook_cache_flush().

8.0.x
Bram Goffings 2012-08-03 23:17:00 +02:00 committed by Tim Plunkett
parent 915450db68
commit e0c6a8dd46
1 changed files with 2 additions and 2 deletions

View File

@ -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');
}