aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connections.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-25 16:18:35 -0800
committerfriendica <info@friendica.com>2013-01-25 16:18:35 -0800
commitc96eb6dc971dc74724a2c20fccf02d34dd08d156 (patch)
treed9d578b81b1abd7a882bfc710e85a2a389a5e046 /mod/connections.php
parent318d75a86a3cc4f5a4dcf1278c9a8236c24ac12a (diff)
downloadvolse-hubzilla-c96eb6dc971dc74724a2c20fccf02d34dd08d156.tar.gz
volse-hubzilla-c96eb6dc971dc74724a2c20fccf02d34dd08d156.tar.bz2
volse-hubzilla-c96eb6dc971dc74724a2c20fccf02d34dd08d156.zip
make contact_remove sort of work so I can actually get rid of Oliver's and Michael J's dead contacts and not poll them every ten minutes forever
Diffstat (limited to 'mod/connections.php')
-rw-r--r--mod/connections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/connections.php b/mod/connections.php
index 94982631a..90e74999e 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -223,7 +223,7 @@ function connections_content(&$a) {
// FIXME
// terminate_friendship($a->get_channel(),$orig_record[0]);
- contact_remove($orig_record[0]['abook_id']);
+ contact_remove(local_user(), $orig_record[0]['abook_id']);
info( t('Contact has been removed.') . EOL );
if(x($_SESSION,'return_url'))
goaway($a->get_baseurl(true) . '/' . $_SESSION['return_url']);