You are here

function panels_cache_clear in Panels 6.2

Same name and namespace in other branches
  1. 5.2 panels.module \panels_cache_clear()
  2. 6.3 panels.module \panels_cache_clear()
  3. 7.3 panels.module \panels_cache_clear()

Clear a object from the cache; used if the editing is aborted.

5 calls to panels_cache_clear()
panels_cache_set in ./panels.module
Save the edited object into the cache.
panels_mini_context_form_submit in panels_mini/panels_mini.admin.inc
Process submission of the mini panel edit form.
panels_page_context_form_submit in panels_page/panels_page.admin.inc
Process submission of the panel page edit form.
_panels_edit in includes/display-edit.inc
Handle calling and processing of the form for editing display content.
_panels_edit_layout_settings in includes/display-layout-settings.inc
Handle calling and processing of the form for editing display layout settings.

File

./panels.module, line 273
panels.module

Code

function panels_cache_clear($obj, $did) {
  db_query("DELETE FROM {panels_object_cache} WHERE sid = '%s' AND obj = '%s' AND did = %d", session_id(), $obj, $did);
}