Removed unused function Ebook::IsInCollection()

This commit is contained in:
Mike Colagrosso 2024-07-08 18:06:20 -06:00 committed by Alex Cabal
parent 807e8410b4
commit e06fd910ed

View file

@ -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
// ***********