1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-28 01:27:10 +00:00

pluginhost: do not connect via legacy DB api until requested

log all initiated legacy database connections
This commit is contained in:
Andrew Dolgov
2017-12-03 14:49:18 +03:00
parent 62c37cd697
commit df5d2a0665
5 changed files with 42 additions and 24 deletions

View File

@@ -1,11 +1,9 @@
<?php
class Handler implements IHandler {
protected $dbh;
protected $pdo;
protected $args;
function __construct($args) {
$this->dbh = Db::get();
$this->pdo = Db::pdo();
$this->args = $args;
}