diff options
author | Jan Lukas Gernert <jangernert@gmail.com> | 2020-01-13 01:21:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-13 01:21:53 +0300 |
commit | ecf02e8d6b06fb97225c509248758fc1c7534839 (patch) | |
tree | 0eba7edb57d2481b843952e8862b0a1d825e0af9 | |
parent | eb0d9dab95b2e942c48a1c46e7d416311c2c3f04 (diff) | |
parent | 7b8b20be4c87cf5e0cd3d102619ee61cca2c7034 (diff) |
Merge pull request #977 from nielsk/master
ttrss api plugin: get_pdo -> get_dbh
-rw-r--r-- | data/tt-rss-feedreader-plugin/api_feedreader/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/tt-rss-feedreader-plugin/api_feedreader/init.php b/data/tt-rss-feedreader-plugin/api_feedreader/init.php index a07787e4..c6e445a6 100644 --- a/data/tt-rss-feedreader-plugin/api_feedreader/init.php +++ b/data/tt-rss-feedreader-plugin/api_feedreader/init.php @@ -20,7 +20,7 @@ class Api_feedreader extends Plugin { function init($host) { $this->host = $host; - $this->dbh = $host->get_pdo(); + $this->dbh = $host->get_dbh(); $this->host->add_api_method("addLabel", $this); $this->host->add_api_method("removeLabel", $this); $this->host->add_api_method("renameLabel", $this); |