summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-12-02 01:28:30 +0300
committerAndrew Dolgov <[email protected]>2017-12-02 01:28:30 +0300
commit1d92297a9654ea6f6bf9277a07b04223fe65fbb5 (patch)
treee70dfc93fdc57e971017b509f56450d36535ce57 /classes/handler
parentc949a9282e1102e82cca5bb158e84f742e8f1456 (diff)
dbupdater: use PDO
Diffstat (limited to 'classes/handler')
-rw-r--r--classes/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 3c65b992b..f36ee8b1a 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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()) {