diff options
Diffstat (limited to 'sites/all/modules/views/plugins/views_plugin_cache_none.inc')
-rw-r--r-- | sites/all/modules/views/plugins/views_plugin_cache_none.inc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sites/all/modules/views/plugins/views_plugin_cache_none.inc b/sites/all/modules/views/plugins/views_plugin_cache_none.inc new file mode 100644 index 000000000..9927a9d71 --- /dev/null +++ b/sites/all/modules/views/plugins/views_plugin_cache_none.inc @@ -0,0 +1,25 @@ +<?php + +/** + * @file + * Definition of views_plugin_cache_none. + */ + +/** + * Caching plugin that provides no caching at all. + * + * @ingroup views_cache_plugins + */ +class views_plugin_cache_none extends views_plugin_cache { + function cache_start() { /* do nothing */ } + + function summary_title() { + return t('None'); + } + + function cache_get($type) { + return FALSE; + } + + function cache_set($type) { } +} |