From 5a200755b8afd8e719214f19b51a38dc8870fe09 Mon Sep 17 00:00:00 2001 From: wn_ Date: Tue, 12 Nov 2024 03:49:58 +0000 Subject: Move 'IVirtualFeed' checks into 'PluginHost::get_feed_handler()'. --- classes/API.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'classes/API.php') diff --git a/classes/API.php b/classes/API.php index d44a7eaea..826d1f333 100644 --- a/classes/API.php +++ b/classes/API.php @@ -693,9 +693,7 @@ class API extends Handler { $handler = PluginHost::getInstance()->get_feed_handler($pfeed_id); - if ($handler && implements_interface($handler, 'IVirtualFeed')) { - /** @var Plugin&IVirtualFeed $handler */ - + if ($handler) { $params = array( "feed" => $feed_id, "limit" => $limit, -- cgit v1.2.3-54-g00ecf