From ee42c3be9474e4f193a211e8ba5f843d7c5d1448 Mon Sep 17 00:00:00 2001
From: friendica <info@friendica.com>
Date: Sat, 2 Jun 2012 23:17:49 -0700
Subject: [PATCH] cleanup

---
 mod/follow.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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);
 
-- 
2.39.5