From 4bde7137a9db043395e6623c190cb0d02dda1d2e Mon Sep 17 00:00:00 2001 From: xcffl <2216902+xcffl@users.noreply.github.com> Date: Wed, 25 Mar 2020 01:19:00 +0800 Subject: Revert e1dda2a --- data/tt-rss-feedreader-plugin/api_feedreader/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/tt-rss-feedreader-plugin/api_feedreader/init.php b/data/tt-rss-feedreader-plugin/api_feedreader/init.php index c6e445a6..a07787e4 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_dbh(); + $this->dbh = $host->get_pdo(); $this->host->add_api_method("addLabel", $this); $this->host->add_api_method("removeLabel", $this); $this->host->add_api_method("renameLabel", $this); -- cgit v1.2.3