diff options
author | Friendika <info@friendika.com> | 2011-04-20 15:27:10 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-20 15:27:10 -0700 |
commit | a1ef8f669d41908e5d457ffe2ab2ac0455fec037 (patch) | |
tree | 7587246b77ee853141ee9985cc134b8b4c584305 /mod | |
parent | b93b04e4a1c28156b4388ef58bd91eba0b5fae51 (diff) | |
download | volse-hubzilla-a1ef8f669d41908e5d457ffe2ab2ac0455fec037.tar.gz volse-hubzilla-a1ef8f669d41908e5d457ffe2ab2ac0455fec037.tar.bz2 volse-hubzilla-a1ef8f669d41908e5d457ffe2ab2ac0455fec037.zip |
don't show connect link to authenticated visitors
Diffstat (limited to 'mod')
-rw-r--r-- | mod/dfrn_poll.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index 2da1a30fa..f8c726c1a 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -76,6 +76,7 @@ function dfrn_poll_init(&$a) { $_SESSION['authenticated'] = 1; $_SESSION['visitor_id'] = $r[0]['id']; $_SESSION['visitor_home'] = $r[0]['url']; + $_SESSION['visitor_visiting'] = $r[0]['uid']; notice( sprintf(t('%s welcomes %s'), $r[0]['username'] , $r[0]['name']) . EOL); // Visitors get 1 day session. $session_id = session_id(); @@ -501,6 +502,7 @@ function dfrn_poll_content(&$a) { $_SESSION['authenticated'] = 1; $_SESSION['visitor_id'] = $r[0]['id']; $_SESSION['visitor_home'] = $r[0]['url']; + $_SESSION['visitor_visiting'] = $r[0]['uid']; notice( sprintf(t('%s welcomes %s'), $r[0]['username'] , $r[0]['name']) . EOL); // Visitors get 1 day session. $session_id = session_id(); |