include 'views_invalidate_cache()' call (to clear views data).

Issue information

From user: skaught

Contribution record

Fork management

Problem/Motivation

drupal_flush_all_caches() does not seem to also include views_invalidate_cache(). I have a View Block of Related content titles (a normal list block) that seems to hold on to previous data state while pushing code thru qa/uat envs.

Steps to reproduce

Proposed resolution

include subroutine to:
a. check if views is enabled.
b, if so, include views_invalidate_cache() callback.

Remaining tasks

User interface changes

API changes

Data model changes

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information