summaryrefslogtreecommitdiff
path: root/plugins/af_comics/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-04-27 00:24:29 +0300
committerAndrew Dolgov <[email protected]>2017-04-27 00:24:29 +0300
commit7f4a24f8681f35d25077524692ba2236583cb732 (patch)
tree41dcc1cc2d3859ad1d8d1fd60b6138c9b520454a /plugins/af_comics/init.php
parent891df346377be014bbad14c229421d92cfd332ea (diff)
parentc2744831cd319fb967a83dc643bdb8b25f6c0b02 (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'plugins/af_comics/init.php')
-rw-r--r--plugins/af_comics/init.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/af_comics/init.php b/plugins/af_comics/init.php
index 31994176e..15af1d1a6 100644
--- a/plugins/af_comics/init.php
+++ b/plugins/af_comics/init.php
@@ -63,18 +63,18 @@ class Af_Comics extends Plugin {
}
function hook_article_filter($article) {
- $owner_uid = $article["owner_uid"];
-
foreach ($this->filters as $f) {
if ($f->process($article))
break;
}
return $article;
-
}
// GoComics dropped feed support so it needs to be handled when fetching the feed.
+ /**
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+ */
function hook_fetch_feed($feed_data, $fetch_url, $owner_uid, $feed, $last_article_timestamp, $auth_login, $auth_pass) {
if ($auth_login || $auth_pass)
return $feed_data;
@@ -143,5 +143,4 @@ class Af_Comics extends Plugin {
return 2;
}
-}
-?>
+} \ No newline at end of file