From b19176169cd93e7aa305296a85e28c8c1c68352b Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 17 Jul 2014 20:54:30 -0700 Subject: provide a specific permission for liking profiles (reuse the obsolete bookmark permission), also remove the unused 'unconnected contacts' view for now. --- mod/connections.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'mod/connections.php') diff --git a/mod/connections.php b/mod/connections.php index b9df3c2b7..1875ed908 100644 --- a/mod/connections.php +++ b/mod/connections.php @@ -235,11 +235,11 @@ function connections_content(&$a) { } nav_set_selected('intros'); break; - case 'unconnected': - $search_flags = ABOOK_FLAG_UNCONNECTED; - $head = t('Unconnected'); - $unconnected = true; - break; +// case 'unconnected': +// $search_flags = ABOOK_FLAG_UNCONNECTED; +// $head = t('Unconnected'); +// $unconnected = true; +// break; case 'all': $head = t('All'); @@ -316,12 +316,12 @@ function connections_content(&$a) { 'title' => t('Only show hidden connections'), ), - array( - 'label' => t('Unconnected'), - 'url' => z_root() . '/connections/unconnected', - 'sel' => ($unconnected) ? 'active' : '', - 'title' => t('Only show one-way connections'), - ), +// array( +// 'label' => t('Unconnected'), +// 'url' => z_root() . '/connections/unconnected', +// 'sel' => ($unconnected) ? 'active' : '', +// 'title' => t('Only show one-way connections'), +// ), ); -- cgit v1.2.3