From d999198fb68ab08ddfba7d04f59cd6ab3a4ed288 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 16 Jan 2024 17:03:39 +0000 Subject: [PATCH] remove dead bit --- ext/rule34/main.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/ext/rule34/main.php b/ext/rule34/main.php index 7c7ca186..6cd43a87 100644 --- a/ext/rule34/main.php +++ b/ext/rule34/main.php @@ -37,26 +37,6 @@ class Rule34 extends Extension $cache->delete("thumb-block:{$event->image->id}"); } - public function onImageInfoBoxBuilding(ImageInfoBoxBuildingEvent $event): void - { - global $config; - $image_link = $config->get_string(ImageConfig::ILINK); - $url0 = $event->image->parse_link_template($image_link, 0); - $url1 = $event->image->parse_link_template($image_link, 1); - $event->add_part( - SHM_POST_INFO( - "Links", - emptyHTML( - A(["href" => $url0], "File Only"), - " (", - A(["href" => $url1], "Backup Server"), - ")" - ) - ), - 90 - ); - } - public function onAdminBuilding(AdminBuildingEvent $event): void { global $page;