summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-11-11 11:53:38 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2011-11-11 11:53:38 -0800
commit58237ba0b26f52a5634adf81f73492fea3961c3b (patch)
tree2c8ef089df8b211a912df59b7ca5ee532722a4ef /update.php
parent4c994207662887d44f54ccd281e997e92b08fc67 (diff)
downloadbrdo-58237ba0b26f52a5634adf81f73492fea3961c3b.tar.gz
brdo-58237ba0b26f52a5634adf81f73492fea3961c3b.tar.bz2
Issue #1049284 by xjm: Fixed Running update.php to flush caches no longer works unless there are updates pending.
Diffstat (limited to 'update.php')
-rw-r--r--update.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/update.php b/update.php
index 5e771a824..2b5d2218b 100644
--- a/update.php
+++ b/update.php
@@ -108,6 +108,9 @@ function update_script_selection_form($form, &$form_state) {
$form['links'] = array(
'#markup' => theme('item_list', array('items' => update_helpful_links())),
);
+
+ // No updates to run, so caches won't get flushed later. Clear them now.
+ drupal_flush_all_caches();
}
else {
$form['help'] = array(