X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=update.php;h=7104f760a7265f39faeb556432ffba71a1d2b8f2;hb=1d92297a9654ea6f6bf9277a07b04223fe65fbb5;hp=9012d717b29fc35eae449798ff618418a3a41862;hpb=c949a9282e1102e82cca5bb158e84f742e8f1456;p=tt-rss.git diff --git a/update.php b/update.php index 9012d717..7104f760 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);