]> git.mxchange.org Git - friendica.git/commitdiff
Some added to-do
authorMichael <heluecht@pirati.ca>
Thu, 13 Dec 2018 21:41:19 +0000 (21:41 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 13 Dec 2018 21:41:19 +0000 (21:41 +0000)
src/Model/Profile.php

index da20a6f24aa5e76742da1da312ef944f65b08c2c..f8bf232be8fa4e6e6d5919f97526466030174ec2 100644 (file)
@@ -1117,6 +1117,8 @@ class Profile
                $_SESSION['visitor_handle'] = $visitor['addr'];
                $_SESSION['visitor_home'] = $visitor['url'];
                $_SESSION['my_url'] = $visitor['url'];
+
+               /// @todo replace this and the query for this variable with some cleaner functionality
                $_SESSION['remote'] = [];
 
                $remote_contacts = DBA::select('contact', ['id', 'uid'], ['nurl' => $visitor['nurl'], 'rel' => [Contact::FOLLOWER, Contact::FRIEND]]);