diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-11-11 11:53:38 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-11-11 11:53:38 -0800 |
commit | 58237ba0b26f52a5634adf81f73492fea3961c3b (patch) | |
tree | 2c8ef089df8b211a912df59b7ca5ee532722a4ef /update.php | |
parent | 4c994207662887d44f54ccd281e997e92b08fc67 (diff) | |
download | brdo-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.php | 3 |
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( |