summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-17 21:40:04 +0400
committerAndrew Dolgov <[email protected]>2013-04-17 21:40:04 +0400
commit0630a100d5f863ab7a3b04f7be7dcce5cafbaf8a (patch)
tree9c6dba2cfd42908906ee3bff2cf0641b9596387e /update.php
parent512b7793917230e37e47e9a68a243053189cb846 (diff)
revert OO-db access in dbupdater, create DbUpdater() correctly
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index 1e653311d..e13abafca 100755
--- a/update.php
+++ b/update.php
@@ -320,7 +320,7 @@
if (isset($options["update-schema"])) {
_debug("checking for updates (" . DB_TYPE . ")...");
- $updater = new DbUpdater( DB_TYPE, SCHEMA_VERSION);
+ $updater = new DbUpdater(Db::get(), DB_TYPE, SCHEMA_VERSION);
if ($updater->isUpdateRequired()) {
_debug("schema update required, version " . $updater->getSchemaVersion() . " to " . SCHEMA_VERSION);