summaryrefslogtreecommitdiff
path: root/plugins/no_iframes/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/no_iframes/init.php
parent891df346377be014bbad14c229421d92cfd332ea (diff)
parentc2744831cd319fb967a83dc643bdb8b25f6c0b02 (diff)
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'plugins/no_iframes/init.php')
-rw-r--r--plugins/no_iframes/init.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/no_iframes/init.php b/plugins/no_iframes/init.php
index 35f7187f5..18cc3ba17 100644
--- a/plugins/no_iframes/init.php
+++ b/plugins/no_iframes/init.php
@@ -14,6 +14,9 @@ class No_Iframes extends Plugin {
$host->add_hook($host::HOOK_SANITIZE, $this);
}
+ /**
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+ */
function hook_sanitize($doc, $site_url, $allowed_elements, $disallowed_attributes) {
$xpath = new DOMXpath($doc);
@@ -31,5 +34,4 @@ class No_Iframes extends Plugin {
return 2;
}
-}
-?>
+} \ No newline at end of file