diff options
Diffstat (limited to 'mod/follow.php')
-rw-r--r-- | mod/follow.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mod/follow.php b/mod/follow.php index c07c210f6..d21c50df6 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -6,7 +6,6 @@ require_once('include/follow.php'); function follow_init(&$a) { if(! local_user()) { - notice( t('Permission denied.') . EOL); return; } @@ -22,8 +21,15 @@ function follow_init(&$a) { goaway($return_url); } - info( t('Channel added') . EOL); + info( t('Channel added.') . EOL); goaway(z_root() . '/connections/' . $result['abook']['abook_id']); } + +function follow_content(&$a) { + + if(! local_user()) { + return login(); + } +}
\ No newline at end of file |