mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-30 21:17:11 +00:00
revert OO-db access in dbupdater, create DbUpdater() correctly
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user