summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/update.php b/update.php
index 9f0291806..917f016f1 100644
--- a/update.php
+++ b/update.php
@@ -352,7 +352,9 @@ function update_selection_page() {
);
drupal_set_title('Drupal database update');
- drupal_add_js('misc/update.js');
+ // Prevent browser from using cached drupal.js or update.js
+ drupal_add_js('misc/update.js?'.time());
+ drupal_add_js('misc/drupal.js?'.time());
$output .= drupal_get_form('update_script_selection_form', $form);
return $output;
@@ -692,4 +694,4 @@ else {
if (isset($output)) {
print theme('maintenance_page', $output);
-} \ No newline at end of file
+}