Commit 18dfd4a8 authored by Steven Wittens's avatar Steven Wittens

- Adding a cache wipe to update.php, as this will avoid stale cache bugs after an update

(e.g. admin.module was removed -> needs menu cache update).
parent 971a0e24
...@@ -36,6 +36,7 @@ function update_data($start) { ...@@ -36,6 +36,7 @@ function update_data($start) {
variable_set("update_start", $date); variable_set("update_start", $date);
print "</pre>\n"; print "</pre>\n";
} }
db_query('DELETE FROM {cache}');
} }
function update_page_header($title) { function update_page_header($title) {
......
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