You are here

function _pages_restriction_delete_cached_data in Pages Restriction Access 7

1 call to _pages_restriction_delete_cached_data()
_pages_restriction_unset_sections_with_path in includes/pages_restriction.helpers.inc
Implements OneTouch Restriction Access.

File

includes/pages_restriction.cache.inc, line 41
Pages Restrictions cache related functions.

Code

function _pages_restriction_delete_cached_data($session_id, $rule_id) {
  return db_delete('cache_pages_restriction')
    ->condition('id_session', $session_id)
    ->condition('restrict_rules', $rule_id)
    ->execute();
}