1
0
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:
Andrew Dolgov
2013-04-17 21:40:04 +04:00
parent 512b779391
commit 0630a100d5
3 changed files with 14 additions and 14 deletions

View File

@@ -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);