diff options
author | friendica <info@friendica.com> | 2014-02-28 16:00:29 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-28 16:00:29 -0800 |
commit | 429022e11666f886d19d8ea2742ebcf516bb8efa (patch) | |
tree | 4ab9540400e89855b71abaabc0b227133b38cfe2 /mod | |
parent | ed1e975fafb165f8914ad75c46546fb6697882b1 (diff) | |
download | volse-hubzilla-429022e11666f886d19d8ea2742ebcf516bb8efa.tar.gz volse-hubzilla-429022e11666f886d19d8ea2742ebcf516bb8efa.tar.bz2 volse-hubzilla-429022e11666f886d19d8ea2742ebcf516bb8efa.zip |
allow one to ignore pending connections
Diffstat (limited to 'mod')
-rw-r--r-- | mod/connections.php | 3 |
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 { |