1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:15:55 +00:00

dbupdater: use PDO

This commit is contained in:
Andrew Dolgov
2017-12-02 01:28:30 +03:00
parent c949a9282e
commit 1d92297a96
3 changed files with 14 additions and 13 deletions

View File

@@ -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()) {