From e06fd910edbbd895c7509c3427d9908e3e939d41 Mon Sep 17 00:00:00 2001 From: Mike Colagrosso Date: Mon, 8 Jul 2024 18:06:20 -0600 Subject: [PATCH] Removed unused function Ebook::IsInCollection() --- lib/Ebook.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/Ebook.php b/lib/Ebook.php index 52034876..a4143d20 100644 --- a/lib/Ebook.php +++ b/lib/Ebook.php @@ -1420,16 +1420,6 @@ class Ebook{ return null; } - public function IsInCollection(string $collection): bool{ - foreach($this->CollectionMemberships as $cm){ - if(strtolower(Formatter::RemoveDiacritics($cm->Collection->Name)) == strtolower(Formatter::RemoveDiacritics($collection))){ - return true; - } - } - - return false; - } - // *********** // ORM METHODS // ***********