Remove setting obsolete App->data['user'] in Module\Profile\Contacts
This commit is contained in:
parent
cc617e42a3
commit
f19136905f
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue