require virtual feed plugins to implement IVirtualFeed
This commit is contained in:
parent
3bd13b91c8
commit
676c5787e7
|
@ -273,9 +273,8 @@ class Counters {
|
||||||
|
|
||||||
if (is_array($feeds)) {
|
if (is_array($feeds)) {
|
||||||
foreach ($feeds as $feed) {
|
foreach ($feeds as $feed) {
|
||||||
if (!method_exists($feed['sender'], 'get_unread')) {
|
if (!implements_interface($feed['sender'], 'IVirtualFeed'))
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
$cv = [
|
$cv = [
|
||||||
"id" => PluginHost::pfeed_to_feed_id($feed['id']),
|
"id" => PluginHost::pfeed_to_feed_id($feed['id']),
|
||||||
|
|
Loading…
Reference in New Issue