From 9ea0864394ef85b2b4cae23fd520f24913ce1742 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 13 Dec 2018 21:41:19 +0000 Subject: [PATCH] Some added to-do --- src/Model/Profile.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Model/Profile.php b/src/Model/Profile.php index da20a6f24..f8bf232be 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -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]]);