- Bugfix: the cache wasn't always cleared properly. Patch by Gerhard.
parent
83ae5b5c36
commit
81ea70d101
|
@ -736,7 +736,7 @@ function cache_clear_all($cid = NULL) {
|
||||||
db_query("DELETE FROM {cache} WHERE expire <> 0");
|
db_query("DELETE FROM {cache} WHERE expire <> 0");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
db_query("DELETE FROM {cache} WHERE cid = %d", $cid);
|
db_query("DELETE FROM {cache} WHERE cid = '%s'", $cid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue