remove WebGUI::Utility::isIn
This commit is contained in:
parent
0e754a51e4
commit
6aa26c2e44
61 changed files with 126 additions and 148 deletions
|
|
@ -249,7 +249,7 @@ The userId to check against this user.
|
|||
sub isFriend {
|
||||
my $self = shift;
|
||||
my $userId = shift;
|
||||
return isIn($userId, @{$self->user->friends->getUsers});
|
||||
return $userId ~~ $self->user->friends->getUsers;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue