mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:45:56 +00:00
dbupdater: use PDO
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user