diff options
author | Friendika <info@friendika.com> | 2010-11-25 18:22:54 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-25 18:22:54 -0800 |
commit | a1458f899a789ef807c1acc3ecc21853bb283270 (patch) | |
tree | 9876fa11035b9531f6e2053718f4fa0e88291d36 | |
parent | 847c2647870f99ed61335777f050c0d599245372 (diff) | |
download | volse-hubzilla-a1458f899a789ef807c1acc3ecc21853bb283270.tar.gz volse-hubzilla-a1458f899a789ef807c1acc3ecc21853bb283270.tar.bz2 volse-hubzilla-a1458f899a789ef807c1acc3ecc21853bb283270.zip |
change remote welcome message
-rw-r--r-- | include/poller.php | 6 | ||||
-rw-r--r-- | mod/dfrn_poll.php | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/poller.php b/include/poller.php index cf099286c..81a23c66f 100644 --- a/include/poller.php +++ b/include/poller.php @@ -19,10 +19,10 @@ $a->set_baseurl(get_config('system','url')); - // run queue delivery process in the background + // run queue delivery process in the background - $php_path = ((x($a->config,'php_path') && strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php'); - proc_close(proc_open("\"$php_path\" \"include/queue.php\" &", array(), $foo)); + $php_path = ((x($a->config,'php_path') && strlen($a->config['php_path'])) ? $a->config['php_path'] : 'php'); + proc_close(proc_open("\"$php_path\" \"include/queue.php\" &", array(), $foo)); $force = false; diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index 8a573c956..35b9861a5 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -49,7 +49,7 @@ function dfrn_poll_init(&$a) { break; // NOTREACHED } - $r = q("SELECT `contact`.*, `user`.`nickname` + $r = q("SELECT `contact`.*, `user`.`username`, `user`.`nickname` FROM `contact` LEFT JOIN `user` ON `contact`.`uid` = `user`.`uid` WHERE `contact`.`blocked` = 0 AND `contact`.`pending` = 0 AND `user`.`nickname` = '%s' $sql_extra LIMIT 1", @@ -67,7 +67,7 @@ function dfrn_poll_init(&$a) { if((int) $xml->status == 1) { $_SESSION['authenticated'] = 1; $_SESSION['visitor_id'] = $r[0]['id']; - notice( t('Hi ') . $r[0]['name'] . EOL); + notice( $r[0]['username'] . t(' welcomes ') . $r[0]['name'] . EOL); // Visitors get 1 day session. $session_id = session_id(); $expire = time() + 86400; |