summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-01-16 23:16:19 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-01-16 23:16:19 +0000
commit18dfd4a81a1fff11320569ca3183e35eae7d766d (patch)
tree778a73110524d4b3b67f05ff97a67024c5bc8f84 /update.php
parent971a0e24aa6344da7ae07f476ed3fb371bd744d0 (diff)
downloadbrdo-18dfd4a81a1fff11320569ca3183e35eae7d766d.tar.gz
brdo-18dfd4a81a1fff11320569ca3183e35eae7d766d.tar.bz2
- 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).
Diffstat (limited to 'update.php')
-rw-r--r--update.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/update.php b/update.php
index dfe78f984..3a00365be 100644
--- a/update.php
+++ b/update.php
@@ -36,6 +36,7 @@ function update_data($start) {
variable_set("update_start", $date);
print "</pre>\n";
}
+ db_query('DELETE FROM {cache}');
}
function update_page_header($title) {