aboutsummaryrefslogtreecommitdiffstats
path: root/util/db_update.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-03-23 21:49:20 -0700
committerMario Vavti <mario@mariovavti.com>2017-03-31 10:25:27 +0200
commit5f0004b416b81f546546d719d8206da52efb1ac1 (patch)
tree6711aa48bfab7d9958dbc5e83141a4017a7e3e6e /util/db_update.php
parentdea487993828d00e7be9709752129e445a255171 (diff)
downloadvolse-hubzilla-5f0004b416b81f546546d719d8206da52efb1ac1.tar.gz
volse-hubzilla-5f0004b416b81f546546d719d8206da52efb1ac1.tar.bz2
volse-hubzilla-5f0004b416b81f546546d719d8206da52efb1ac1.zip
move db_upgrade to zlib
Diffstat (limited to 'util/db_update.php')
-rw-r--r--util/db_update.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/db_update.php b/util/db_update.php
index ceef061c1..8fc7c7616 100644
--- a/util/db_update.php
+++ b/util/db_update.php
@@ -9,6 +9,7 @@ require_once('boot.php');
require_once('include/cli_startup.php');
cli_startup();
+$build = get_config('system','db_version');
echo "Old DB VERSION: " . $build . "\n";
echo "New DB VERSION: " . DB_UPDATE_VERSION . "\n";
@@ -16,7 +17,7 @@ echo "New DB VERSION: " . DB_UPDATE_VERSION . "\n";
if($build != DB_UPDATE_VERSION) {
echo "Updating database...";
- check_config($a);
+ check_config();
echo "Done\n";
}