function views_object_cache_clear
Remove an object from the non-volatile Views cache
Parameters
$obj: A 32 character or less string to define what kind of object is being stored; primarily this is used to prevent collisions.
$name: The name of the view (or other object) being stored.
Related topics
5 calls to views_object_cache_clear()
- views_drush_revert_view in drush/
views.drush.inc - Reverts a specified view
- views_object_cache_set in includes/
cache.inc - Store an object in the non-volatile Views cache.
- views_ui_delete_confirm_submit in includes/
admin.inc - Submit handler to delete a view.
- views_ui_edit_view_form_cancel in includes/
admin.inc - Submit handler for the edit view form.
- views_ui_edit_view_form_submit in includes/
admin.inc - Submit handler for the edit view form.
File
-
includes/
cache.inc, line 272
Code
function views_object_cache_clear($obj, $name) {
db_query("DELETE FROM {views_object_cache} WHERE sid = '%s' AND obj = '%s' AND name = '%s'", session_id(), $obj, $name);
}