From 9d5c55fabc74be2396b61ce8262b082bfc5479ff Mon Sep 17 00:00:00 2001 From: Giraffaman Date: Sat, 24 Feb 2024 02:45:10 +0100 Subject: [PATCH] remove obsolete function references - fixes #30 --- ext/rating/main.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ext/rating/main.php b/ext/rating/main.php index 3bb45573e..9d84369f1 100644 --- a/ext/rating/main.php +++ b/ext/rating/main.php @@ -399,16 +399,6 @@ public function onPageRequest(PageRequestEvent $event): void # 2023-12-21: added to process default rating chages from form added in pr0rooru theme # TODO: put this into its own extension so we don't touch Ratings if(($event->page_matches("rating/save_ratingView")) || ($event->page_matches("save_ratingView"))) { - # this part is obsolete - if($event->count_args() > 0) { - echo $this->make_logentry("arg count: ".$event->count_args()); - foreach($event->args as $a) { - echo $this->make_logentry($a); - } - } else { - echo $this->make_logentry("no args?"); - } - #echo $this->make_logentry("extension - page requested: ".$event); if (!$user->can(Permissions::BULK_EDIT_IMAGE_RATING)) { throw new PermissionDeniedException("Permission denied"); } else {