From: friendica Date: Sun, 3 Jun 2012 06:17:49 +0000 (-0700) Subject: cleanup X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ee42c3be9474e4f193a211e8ba5f843d7c5d1448;p=friendica.git cleanup --- diff --git a/mod/follow.php b/mod/follow.php index 9186b90eff..5e48174c93 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -12,7 +12,7 @@ function follow_init(&$a) { } $uid = local_user(); - $url = $orig_url = notags(trim($_REQUEST['url'])); + $url = notags(trim($_REQUEST['url'])); $return_url = $_SESSION['return_url']; @@ -24,6 +24,8 @@ function follow_init(&$a) { goaway($return_url); } + info( t('Contact added') . EOL); + if(strstr($return_url,'contacts')) goaway($a->get_baseurl() . '/contacts/' . $contact_id);