not able to drop pending connections

This commit is contained in:
friendica
2013-08-15 01:32:09 -07:00
parent efb730cedc
commit c17f7124f3
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -179,7 +179,8 @@ function connections_content(&$a) {
intval($contact_id),
intval(local_user()),
intval(ABOOK_FLAG_SELF),
intval(ABOOK_FLAG_PENDING)
// allow drop even if pending, just duplicate the self query
intval(($cmd === 'drop') ? ABOOK_FLAG_SELF : ABOOK_FLAG_PENDING)
);
if(! count($orig_record)) {
+1 -1
View File
@@ -1 +1 @@
2013-08-14.405
2013-08-15.406