summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-12-02 01:28:30 +0300
committerAndrew Dolgov <[email protected]>2017-12-02 01:28:30 +0300
commit1d92297a9654ea6f6bf9277a07b04223fe65fbb5 (patch)
treee70dfc93fdc57e971017b509f56450d36535ce57 /update.php
parentc949a9282e1102e82cca5bb158e84f742e8f1456 (diff)
dbupdater: use 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 9012d717b..7104f760a 100755
--- a/update.php
+++ b/update.php
@@ -317,7 +317,7 @@
if (isset($options["update-schema"])) {
_debug("checking for updates (" . DB_TYPE . ")...");
- $updater = new DbUpdater(Db::get(), DB_TYPE, SCHEMA_VERSION);
+ $updater = new DbUpdater(Db::pdo(), DB_TYPE, SCHEMA_VERSION);
if ($updater->isUpdateRequired()) {
_debug("schema update required, version " . $updater->getSchemaVersion() . " to " . SCHEMA_VERSION);