aboutsummaryrefslogtreecommitdiffstats
path: root/mod/follow.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-04 20:58:39 -0800
committerfriendica <info@friendica.com>2013-03-04 20:58:39 -0800
commit8d442e6fc1364ea351a9b781e8173c1b679b7a91 (patch)
tree39703e3d5750e13d666cabbbe3f21125284b9c40 /mod/follow.php
parent4cfbdfa6dbed878565bab5172efaf67c8fda0886 (diff)
downloadvolse-hubzilla-8d442e6fc1364ea351a9b781e8173c1b679b7a91.tar.gz
volse-hubzilla-8d442e6fc1364ea351a9b781e8173c1b679b7a91.tar.bz2
volse-hubzilla-8d442e6fc1364ea351a9b781e8173c1b679b7a91.zip
fix timeago (again), webfinger new spec implemented, some theme work
Diffstat (limited to 'mod/follow.php')
-rw-r--r--mod/follow.php8
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