1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 16:25:56 +00:00

normalize some mismatching hook function definitions to match base Plugin class

This commit is contained in:
Andrew Dolgov
2021-11-14 11:11:49 +03:00
parent 81a10f69bc
commit 0a2dcacbcf
7 changed files with 33 additions and 16 deletions

View File

@@ -97,7 +97,7 @@ class Cache_Starred_Images extends Plugin {
}
}
function hook_enclosure_entry($enc, $article_id) {
function hook_enclosure_entry($enc, $article_id, $rv) {
$local_filename = $article_id . "-" . sha1($enc["content_url"]);
if ($this->cache->exists($local_filename)) {