From c7ace10ffb4a9f7dcb5e24eb4db25a4cfb449de7 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 26 Jan 2011 02:32:00 -0800 Subject: dissolve relationship (new protocol) working --- mod/contacts.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mod/contacts.php') diff --git a/mod/contacts.php b/mod/contacts.php index 7236a200d..83f73140b 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -177,6 +177,12 @@ function contacts_content(&$a) { } } + if($orig_record[0]['network'] === 'dfrn') { + require_once('include/items.php'); + dfrn_deliver($a->user,$orig_record[0],'placeholder', 1); + } + + contact_remove($contact_id); notice( t('Contact has been removed.') . EOL ); goaway($a->get_baseurl() . '/contacts'); -- cgit v1.2.3