diff options
Diffstat (limited to 'mod/follow.php')
-rw-r--r-- | mod/follow.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mod/follow.php b/mod/follow.php index c07c210f6..05a12d0f0 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; } @@ -27,3 +26,10 @@ function follow_init(&$a) { goaway(z_root() . '/connections/' . $result['abook']['abook_id']); } + +functon follow_content(&$a) { + + if(! local_user()) { + return login(); + } +}
\ No newline at end of file |