summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-22 14:41:09 +0300
committerAndrew Dolgov <[email protected]>2021-02-22 14:41:09 +0300
commitbe4e7b13403666fc477d4b563ea8c075d0fd2022 (patch)
tree38eee4a6d7a5f0c4ecc3b37f997c385559c1d2a8 /classes/pluginhost.php
parent043ef3dad68f774598e1b172ecb0f5ea75f112af (diff)
fix several issues reported by phpstan
Diffstat (limited to 'classes/pluginhost.php')
-rwxr-xr-xclasses/pluginhost.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index a05938111..5121c8491 100755
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -108,8 +108,9 @@ class PluginHost {
return false;
}
+ // needed for compatibility with API 2 (?)
function get_dbh() {
- return Db::get();
+ return false;
}
function get_pdo(): PDO {