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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user