From cf2302262663be120a530f2357c55e327ea548cd Mon Sep 17 00:00:00 2001 From: veselcraft Date: Thu, 20 Jul 2023 02:36:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=9B=D0=AF=D0=AF=D0=AF=D0=AF=D0=AF?= =?UTF-8?q?=D0=AF=D0=AF=D0=AF=D0=A2=D0=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/Models/Entities/BlacklistItem.php | 2 -- Web/Models/Repositories/Blacklists.php | 3 --- 2 files changed, 5 deletions(-) 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())); } }