summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-18 00:20:21 +0400
committerAndrew Dolgov <[email protected]>2013-04-18 00:20:21 +0400
commitb6a74295915fb354543eadf6c1b658e15faefef7 (patch)
treee679ec906a09ecabf14f25c80f55364f60aca633 /update.php
parente441b5837b84f8313e506a3d1b087f269f4a9fb3 (diff)
parentfa8e7ea2613e611a9c532bb923727de352a53b2a (diff)
Merge branch 'master' into pdo
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);