Commit 64e5ff97 authored by robertDouglass's avatar robertDouglass
Browse files

Fix wildcard error in cache_clear_all

parent 2d8cab74
......@@ -365,7 +365,7 @@ function cache_clear_all($cid = NULL, $table = NULL, $wildcard = FALSE) {
// lifetime consideration (it handles it internally), and doesn't support
// wildcards.
$bin = empty($table) ? 'cache' : $table;
if (empty($cid)) {
if (empty($cid) || $cid == '*') {
dmemcache_flush($table);
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment