1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:25:56 +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

@@ -869,7 +869,7 @@ class Handler_Public extends Handler {
<?php
@$op = $_REQUEST["subop"];
$updater = new DbUpdater(DB_TYPE, SCHEMA_VERSION);
$updater = new DbUpdater(Db::get(), DB_TYPE, SCHEMA_VERSION);
if ($op == "performupdate") {
if ($updater->isUpdateRequired()) {