aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connections.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-28 16:00:29 -0800
committerfriendica <info@friendica.com>2014-02-28 16:00:29 -0800
commit429022e11666f886d19d8ea2742ebcf516bb8efa (patch)
tree4ab9540400e89855b71abaabc0b227133b38cfe2 /mod/connections.php
parented1e975fafb165f8914ad75c46546fb6697882b1 (diff)
downloadvolse-hubzilla-429022e11666f886d19d8ea2742ebcf516bb8efa.tar.gz
volse-hubzilla-429022e11666f886d19d8ea2742ebcf516bb8efa.tar.bz2
volse-hubzilla-429022e11666f886d19d8ea2742ebcf516bb8efa.zip
allow one to ignore pending connections
Diffstat (limited to 'mod/connections.php')
-rw-r--r--mod/connections.php3
1 files changed, 2 insertions, 1 deletions
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 {