Change occurances of user->profileField to user->get

This commit is contained in:
Colin Kuskie 2010-11-18 16:12:03 -08:00
parent ae48e7517a
commit 59c03b50e7
41 changed files with 86 additions and 86 deletions

View file

@ -227,7 +227,7 @@ sub www_editFriends {
##We don't use acceptsFriendsRequests here because it's overkill.
##No need to check invitations, since friends are managed.
##Existing friends are already filtered out.
next USERID unless $user->profileField('ableToBeFriend') || $overrideProfile;
next USERID unless $user->get('ableToBeFriend') || $overrideProfile;
push @usersToAdd, [ $newFriendId, $user->username ];
}