diff -r 7c12c3e8fd5a php/lib/cache_implementations/no_cache/no_cache.class.php --- a/php/lib/cache_implementations/no_cache/no_cache.class.php Wed Mar 07 16:38:46 2012 +0100 +++ b/php/lib/cache_implementations/no_cache/no_cache.class.php Fri Jun 29 14:14:46 2012 +0200 @@ -61,6 +61,11 @@ { return true; } + + function delete_like($id) { + return true; + } } ?> + diff -r 7c12c3e8fd5a php/lib/cache_implementations/session_cache/session_cache.class.php --- a/php/lib/cache_implementations/session_cache/session_cache.class.php Wed Mar 07 16:38:46 2012 +0100 +++ b/php/lib/cache_implementations/session_cache/session_cache.class.php Fri Jun 29 14:14:46 2012 +0200 @@ -78,6 +78,22 @@ return $application.$cache_type.'_'.$id1.'_'.$id2.'_'.$extra; } + function delete_like($id) { + $cache = $_SESSION['cache']; + if(empty($cache)) + { + return; + } + foreach($caches as $cache_id => $cache_state) + { + if (strpos($cache_id, $id) !== false) + { + $_SESSION['cache'][$id] = false; + } + } + } + } ?> +