mirror of
https://github.com/standardebooks/web.git
synced 2025-07-21 23:04:57 -04:00
Removed unused function Ebook::IsInCollection()
This commit is contained in:
parent
807e8410b4
commit
e06fd910ed
1 changed files with 0 additions and 10 deletions
|
@ -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
|
||||
// ***********
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue