summaryrefslogtreecommitdiff
path: root/plugins/no_iframes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-08 19:42:10 +0300
committerAndrew Dolgov <[email protected]>2021-02-08 19:42:10 +0300
commit7874f6ac5831794fa38725fab8e2e5356b95541c (patch)
tree6fc998c6712ddc711001277a373c498fbcb99e21 /plugins/no_iframes
parenta341a838b17605d2f8b5d2eb25a5a7ca496272bc (diff)
remove PHPMD.UnusedFormalParameter
Diffstat (limited to 'plugins/no_iframes')
-rw-r--r--plugins/no_iframes/init.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/no_iframes/init.php b/plugins/no_iframes/init.php
index 9711eeb24..dd3502cbd 100644
--- a/plugins/no_iframes/init.php
+++ b/plugins/no_iframes/init.php
@@ -14,9 +14,6 @@ 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);