diff --git a/Web/Models/Entities/BlacklistItem.php b/Web/Models/Entities/BlacklistItem.php index cf147798..fcc19452 100644 --- a/Web/Models/Entities/BlacklistItem.php +++ b/Web/Models/Entities/BlacklistItem.php @@ -28,6 +28,4 @@ class BlacklistItem extends RowModel { return new DateTime($this->getRecord()->created); } - - } \ No newline at end of file diff --git a/Web/Models/Repositories/Blacklists.php b/Web/Models/Repositories/Blacklists.php index 50fb9d70..f13534ef 100644 --- a/Web/Models/Repositories/Blacklists.php +++ b/Web/Models/Repositories/Blacklists.php @@ -41,9 +41,6 @@ class Blacklists if (!$author || !$target) return FALSE; - bdump($this->getByAuthorAndTarget($author->getId(), $target->getId()), "хуита какая-то вроде для бл*клиста"); - - return !is_null($this->getByAuthorAndTarget($author->getId(), $target->getId())); } }