aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-08 19:44:55 -0700
committerzotlabs <mike@macgirvin.com>2017-06-08 19:44:55 -0700
commit61bf77f668023da328acb386d586be843d7b382b (patch)
tree738d6a808d83bdfcfbaca10bab791bef2c72a514 /include/connections.php
parent416a82bf121e568569ed28590092d34dd25da6c0 (diff)
parentf730e476f0d6db20eea29cd97e995f91a793d61c (diff)
downloadvolse-hubzilla-61bf77f668023da328acb386d586be843d7b382b.tar.gz
volse-hubzilla-61bf77f668023da328acb386d586be843d7b382b.tar.bz2
volse-hubzilla-61bf77f668023da328acb386d586be843d7b382b.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/connections.php')
-rw-r--r--include/connections.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/connections.php b/include/connections.php
index 167f7e2c4..85b961b65 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -341,6 +341,11 @@ function contact_remove($channel_id, $abook_id) {
logger('removing contact ' . $abook_id . ' for channel ' . $channel_id,LOGGER_DEBUG);
+
+ $x = [ 'channel_id' => $channel_id, 'abook_id' => $abook_id ];
+ call_hooks('connection_remove',$x);
+
+
$archive = get_pconfig($channel_id, 'system','archive_removed_contacts');
if($archive) {
q("update abook set abook_archived = 1 where abook_id = %d and abook_channel = %d",