Save 1 object access per friend by using the friendId we already know.
This commit is contained in:
parent
caffe2751a
commit
9f1da1f4c5
1 changed files with 1 additions and 1 deletions
|
|
@ -538,7 +538,7 @@ sub www_view {
|
|||
# TODO Move this into a sub that can be more easily overridden
|
||||
$hash->{'friend_full_name' } = $friend->getWholeName;
|
||||
$hash->{'isViewable' } = $friend->profileIsViewable;
|
||||
$hash->{'friend_id' } = $friend->userId;
|
||||
$hash->{'friend_id' } = $friendId;
|
||||
$hash->{'friend_member_since' } = $friend->dateCreated;
|
||||
$hash->{'friend_member_since_human'} = $session->datetime->epochToHuman($friend->dateCreated);
|
||||
$hash->{'friend_isOnline' } = $friend->isOnline;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue