diff options
author | marijus <mario@localhost.localdomain> | 2014-02-04 16:19:35 +0100 |
---|---|---|
committer | marijus <mario@localhost.localdomain> | 2014-02-04 16:19:35 +0100 |
commit | 4253581733d4c6c7f0dce5c3ea7566c6af4af936 (patch) | |
tree | 1eadff45b06adcac3f93432beea63b7ccd7391ff /mod/connections.php | |
parent | 2a9baa1f325b62541ad7a7b68e91455b104677bd (diff) | |
parent | 74298c44ae445125bfc2b13d20da91b9d349ce43 (diff) | |
download | volse-hubzilla-4253581733d4c6c7f0dce5c3ea7566c6af4af936.tar.gz volse-hubzilla-4253581733d4c6c7f0dce5c3ea7566c6af4af936.tar.bz2 volse-hubzilla-4253581733d4c6c7f0dce5c3ea7566c6af4af936.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/connections.php')
-rw-r--r-- | mod/connections.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/connections.php b/mod/connections.php index 2119c69c7..3da9cec74 100644 --- a/mod/connections.php +++ b/mod/connections.php @@ -74,6 +74,7 @@ function connections_post(&$a) { $abook_flags = $orig_record[0]['abook_flags']; $new_friend = false; + if(($_REQUEST['pending']) && ($abook_flags & ABOOK_FLAG_PENDING)) { $abook_flags = ( $abook_flags ^ ABOOK_FLAG_PENDING ); $new_friend = true; @@ -88,6 +89,7 @@ function connections_post(&$a) { intval($contact_id), intval(local_user()) ); + if($r) info( t('Connection updated.') . EOL); else |