From 429022e11666f886d19d8ea2742ebcf516bb8efa Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 28 Feb 2014 16:00:29 -0800 Subject: allow one to ignore pending connections --- mod/connections.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/connections.php b/mod/connections.php index e36cb5fc7..679b6d79d 100644 --- a/mod/connections.php +++ b/mod/connections.php @@ -223,7 +223,8 @@ function connections_content(&$a) { } $sql_extra = (($search_flags) ? " and ( abook_flags & " . $search_flags . " ) " : ""); - + if(argv(1) === 'pending') + $sql_extra .= " and not ( abook_flags & " . ABOOK_FLAG_IGNORED . " ) "; } else { -- cgit v1.2.3