diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-03-16 21:10:43 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-03-16 21:10:43 +0100 |
commit | cd4635ee7f07ae17e1b2a58d8d9e6620ddb077ef (patch) | |
tree | f4c675d020c2847b2872fe239b10346e5eed1199 | |
parent | 898f93a1f1396ff4762d1a25dc4c41caa9f81fd9 (diff) | |
download | rpg-cd4635ee7f07ae17e1b2a58d8d9e6620ddb077ef.tar.gz rpg-cd4635ee7f07ae17e1b2a58d8d9e6620ddb077ef.tar.bz2 |
Rename userinfo() to userlink()
-rw-r--r-- | inc/common.php | 4 | ||||
-rw-r--r-- | inc/template.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/inc/common.php b/inc/common.php index 14d4a9d79..eef160122 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1464,7 +1464,7 @@ function shorten($keep, $short, $max, $min = 9, $char = '…') { * @author Andy Webber <dokuwiki AT andywebber DOT com> */ function editorinfo($username, $textonly = false) { - return userinfo($username, $textonly); + return userlink($username, $textonly); } /** @@ -1476,7 +1476,7 @@ function editorinfo($username, $textonly = false) { * * @triggers COMMON_USER_LINK */ -function userinfo($username = null, $textonly = false) { +function userlink($username = null, $textonly = false) { global $conf, $INFO; /** @var DokuWiki_Auth_Plugin $auth */ global $auth; diff --git a/inc/template.php b/inc/template.php index 5a3bdea6a..ea65b9d43 100644 --- a/inc/template.php +++ b/inc/template.php @@ -893,7 +893,7 @@ function tpl_userinfo() { global $INPUT; if($INPUT->server->str('REMOTE_USER')) { - print $lang['loggedinas'].': '.userinfo(); + print $lang['loggedinas'].': '.userlink(); return true; } return false; |