diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-23 21:49:20 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-23 21:49:20 -0700 |
commit | a2e101997836ebd904e94aa896a1bcc2e2c70f01 (patch) | |
tree | 76daffc0d41801dc825ffba6538d6c5022e4c311 /util/db_update.php | |
parent | e98938d03dbdd94c33419924a50e4b6fbeb6fe1c (diff) | |
download | volse-hubzilla-a2e101997836ebd904e94aa896a1bcc2e2c70f01.tar.gz volse-hubzilla-a2e101997836ebd904e94aa896a1bcc2e2c70f01.tar.bz2 volse-hubzilla-a2e101997836ebd904e94aa896a1bcc2e2c70f01.zip |
move db_upgrade to zlib
Diffstat (limited to 'util/db_update.php')
-rw-r--r-- | util/db_update.php | 3 |
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"; } |