Browse Source

Remove setting obsolete App->data['user'] in Module\Profile\Contacts

pull/7646/head
Hypolite Petovan 2 years ago
parent
commit
f19136905f
  1. 1
      src/Module/Profile/Contacts.php

1
src/Module/Profile/Contacts.php

@ -36,7 +36,6 @@ class Contacts extends BaseModule
throw new \Friendica\Network\HTTPException\NotFoundException(L10n::t('User not found.'));
}
$a->data['user'] = $user;
$a->profile_uid = $user['uid'];
Profile::load($a, $nickname);

Loading…
Cancel
Save