summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-04 04:15:58 +0100
committerAndrew Dolgov <[email protected]>2007-05-04 04:15:58 +0100
commit87b9fb65321ec077a5d062f571c8384136c0fdc4 (patch)
tree6f175179f69c199e724d2a25ce2a27d57a72fa4b /update.php
parentd3687e7a9e2c807d1113522a4e83682fe803c4f2 (diff)
add _PREFS_ACTIVE_TAB hidden option, tweak update.php, move SCHEMA_VERSION definition to sanity_check.php
Diffstat (limited to 'update.php')
-rw-r--r--update.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/update.php b/update.php
index 665ec9495..e3a25f47c 100644
--- a/update.php
+++ b/update.php
@@ -24,8 +24,7 @@
render_login_form($link);
exit;
}
-
- define('SCHEMA_VERSION', 16);
+
?>
@@ -94,7 +93,7 @@ function confirmOP() {
}
if (!$op) {
- print "<p class='warning'>".__("<b>Warning:</b> Please backup your database before proceeding.")."</p>";
+ print_warning("Please backup your database before proceeding.");
print "<p>" . T_sprintf("Your Tiny Tiny RSS database needs update to the latest version (<b>%d</b> to <b>%d</b>).", $version, $latest_version) . "</p>";