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

This commit is contained in:
Hypolite Petovan 2019-09-21 05:14:49 -04:00
parent cc617e42a3
commit f19136905f

View File

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