mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
Compare commits
1 commit
b58adba4f7
...
93f225dcfc
Author | SHA1 | Date | |
---|---|---|---|
93f225dcfc |
1 changed files with 1 additions and 4 deletions
|
@ -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(),
|
||||||
|
|
Loading…
Reference in a new issue