summaryrefslogtreecommitdiff
path: root/plugins/cache_starred_images
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/cache_starred_images
parenta341a838b17605d2f8b5d2eb25a5a7ca496272bc (diff)
remove PHPMD.UnusedFormalParameter
Diffstat (limited to 'plugins/cache_starred_images')
-rwxr-xr-xplugins/cache_starred_images/init.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/cache_starred_images/init.php b/plugins/cache_starred_images/init.php
index 0911825e7..9dd4cd49d 100755
--- a/plugins/cache_starred_images/init.php
+++ b/plugins/cache_starred_images/init.php
@@ -32,9 +32,6 @@ class Cache_Starred_Images extends Plugin {
}
}
- /**
- * @SuppressWarnings(PHPMD.UnusedLocalVariable)
- */
function hook_house_keeping() {
/* since HOOK_UPDATE_TASK is not available to user plugins, this hook is a next best thing */
@@ -107,9 +104,6 @@ class Cache_Starred_Images extends Plugin {
return $enc;
}
- /**
- * @SuppressWarnings(PHPMD.UnusedFormalParameter)
- */
function hook_sanitize($doc, $site_url, $allowed_elements, $disallowed_attributes, $article_id) {
$xpath = new DOMXpath($doc);
@@ -153,9 +147,6 @@ class Cache_Starred_Images extends Plugin {
return false;
}
- /**
- * @SuppressWarnings(PHPMD.UnusedFormalParameter)
- */
private function cache_article_images($content, $site_url, $owner_uid, $article_id) {
$status_filename = $article_id . "-" . sha1($site_url) . ".status";