mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:15:55 +00:00
dbupdater: use PDO
This commit is contained in:
@@ -855,7 +855,7 @@ class Handler_Public extends Handler {
|
||||
|
||||
<?php
|
||||
@$op = $_REQUEST["subop"];
|
||||
$updater = new DbUpdater(Db::get(), DB_TYPE, SCHEMA_VERSION);
|
||||
$updater = new DbUpdater(Db::pdo(), DB_TYPE, SCHEMA_VERSION);
|
||||
|
||||
if ($op == "performupdate") {
|
||||
if ($updater->isUpdateRequired()) {
|
||||
|
||||
Reference in New Issue
Block a user