Compare commits

..

1 commit

Author SHA1 Message Date
93f225dcfc
Merge 7fc51e422b into 3c53564d57 2024-11-04 12:02:54 +00:00

View file

@ -5,11 +5,8 @@ use openvk\Web\Models\Entities\User;
trait TIgnorable trait TIgnorable
{ {
function isIgnoredBy(User $user = NULL): bool function isIgnoredBy(User $user): bool
{ {
if(!$user)
return false;
$ctx = DatabaseConnection::i()->getContext(); $ctx = DatabaseConnection::i()->getContext();
$data = [ $data = [
"owner" => $user->getId(), "owner" => $user->getId(),