]> git.mxchange.org Git - friendica.git/commitdiff
Remove setting obsolete App->data['user'] in Module\Profile\Contacts
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 21 Sep 2019 09:14:49 +0000 (05:14 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 21 Sep 2019 09:14:49 +0000 (05:14 -0400)
src/Module/Profile/Contacts.php

index 346622b2e5b5cac4e7303dd5b69ed1c2dfde82ea..7463d4043f8565d453dc6c2b2929a3fcb73bad5e 100644 (file)
@@ -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);