aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-02 23:17:49 -0700
committerfriendica <info@friendica.com>2012-06-02 23:17:49 -0700
commitee42c3be9474e4f193a211e8ba5f843d7c5d1448 (patch)
tree0db17982b793e957787f45bf2cafa270d0cc3887 /mod
parent82cf664920348ae9fcccae37e986eb97373b8cbd (diff)
downloadvolse-hubzilla-ee42c3be9474e4f193a211e8ba5f843d7c5d1448.tar.gz
volse-hubzilla-ee42c3be9474e4f193a211e8ba5f843d7c5d1448.tar.bz2
volse-hubzilla-ee42c3be9474e4f193a211e8ba5f843d7c5d1448.zip
cleanup
Diffstat (limited to 'mod')
-rw-r--r--mod/follow.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/follow.php b/mod/follow.php
index 9186b90ef..5e48174c9 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);