summaryrefslogtreecommitdiff
path: root/plugins/af_youtube_embed/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_youtube_embed/init.php
parent891df346377be014bbad14c229421d92cfd332ea (diff)
parentc2744831cd319fb967a83dc643bdb8b25f6c0b02 (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'plugins/af_youtube_embed/init.php')
-rw-r--r--plugins/af_youtube_embed/init.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/af_youtube_embed/init.php b/plugins/af_youtube_embed/init.php
index 782011340..16dcc926c 100644
--- a/plugins/af_youtube_embed/init.php
+++ b/plugins/af_youtube_embed/init.php
@@ -14,6 +14,9 @@ class Af_Youtube_Embed extends Plugin {
$host->add_hook($host::HOOK_RENDER_ENCLOSURE, $this);
}
+ /**
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+ */
function hook_render_enclosure($entry, $hide_images) {
$matches = array();
@@ -37,4 +40,3 @@ class Af_Youtube_Embed extends Plugin {
}
}
-?>