aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connections.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-01-26 16:57:36 -0800
committerredmatrix <git@macgirvin.com>2016-01-26 16:57:36 -0800
commit9b08051703ff6695ba989f1cb968200ca59daeb1 (patch)
tree745af4986ad5d93c17d459c857ab21ac898197cb /mod/connections.php
parent9c71b74d373001ac47add095fc204bddb25ee91d (diff)
downloadvolse-hubzilla-9b08051703ff6695ba989f1cb968200ca59daeb1.tar.gz
volse-hubzilla-9b08051703ff6695ba989f1cb968200ca59daeb1.tar.bz2
volse-hubzilla-9b08051703ff6695ba989f1cb968200ca59daeb1.zip
bring back the ability to ignore a pending connection request without deleting it and without always having it in your face and without jumping through hoops.
Diffstat (limited to 'mod/connections.php')
-rw-r--r--mod/connections.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/connections.php b/mod/connections.php
index f43dec73e..1de8279c4 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -269,6 +269,8 @@ function connections_content(&$a) {
'connected' => datetime_convert('UTC',date_default_timezone_get(),$rr['abook_created'], 'c'),
'approve_hover' => t('Approve connection'),
'approve' => (($rr['abook_pending']) ? t('Approve') : false),
+ 'ignore_hover' => t('Ignore connection'),
+ 'ignore' => ((! $rr['abook_ignored']) ? t('Ignore') : false),
'recent_label' => t('Recent activity'),
'recentlink' => z_root() . '/network/?f=&cid=' . intval($rr['abook_id'])
);