Commit 58873274 authored by merlinofchaos's avatar merlinofchaos
Browse files

#126813 (moshe) -- support for devel.module clear cache function

parent b51e4d03
......@@ -462,7 +462,7 @@ function &views_get_current_view() {
* If $use_pager == false, skip the first $offset results. Does not work
* with pager.
* without paging on.
*/
*/
function views_build_view($type, &$view, $args = array(), $use_pager = false, $limit = 0, $page = 0, $offset = 0) {
views_load_cache();
......
......@@ -330,3 +330,7 @@ function _views_get_style_plugins($titles = false) {
return ($titles ? $views_style_plugins['title'] : $views_style_plugins['base']);
}
// An implementation of hook_devel_caches() from devel.module
function views_devel_caches() {
return array('cache_views');
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment