summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-05-04 19:20:11 +0100
committerChristopher Smith <chris@jalakai.co.uk>2014-05-04 19:20:11 +0100
commit2dc9e90007f12ac996b0e74479137a9dc6243c3c (patch)
treefd22408ecdbd51181c9ac1b95f2d56366391df24 /inc/common.php
parent06e3e0c7b506a637df1ea27c6a8a439756e7139d (diff)
downloadrpg-2dc9e90007f12ac996b0e74479137a9dc6243c3c.tar.gz
rpg-2dc9e90007f12ac996b0e74479137a9dc6243c3c.tar.bz2
KISS - remove class constants for REQUIRE_GROUPS & IGNORE_GROUPS and replace with boolean values
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php
index 9ed9e84d4..9b3c59e6e 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -1468,7 +1468,7 @@ function editorinfo($username) {
case 'username':
case 'email':
case 'email_link':
- if($auth) $info = $auth->getUserData($username, DokuWiki_Auth_Plugin::IGNORE_GROUPS);
+ if($auth) $info = $auth->getUserData($username, $requireGroups = false);
break;
default:
return hsc($username);