From 9812d6631212960ff8cbf7e6fafa1590a62110c2 Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 2 Feb 2023 20:07:59 +0000 Subject: [PATCH] again --- public/booru.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/booru.php b/public/booru.php index 2aefc84..601450c 100644 --- a/public/booru.php +++ b/public/booru.php @@ -63,9 +63,6 @@ if($randomSource) elseif(!in_array($booru, BOORUS)) die('{"error":"booru"}'); -if($booru === 'danbooru' && $randomSource) - $booru = BOORUS[1 + (array_rand(BOORUS) - 1)]; - if(!array_key_exists($booru, BOORU_INFOS)) die('{"error":"booru-info"}');