summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-10-09 14:27:17 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-10-09 14:27:17 -0400
commit855d769094d175cadda67c1c451279243533aaa5 (patch)
treec1914c7c5f46cc26a7117398164b2a168537f790 /src
parentf4ea92cc3931535bb749d5e68b7100431dde3652 (diff)
Allow username lookup even if $user->canRead()==false
Diffstat (limited to 'src')
-rw-r--r--src/models/Auth.class.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/models/Auth.class.php b/src/models/Auth.class.php
index b51aef9..031ee26 100644
--- a/src/models/Auth.class.php
+++ b/src/models/Auth.class.php
@@ -113,7 +113,6 @@ class Auth {
// [user|group]name ////////////////////////////////////////////////////
public function getName() {
- if (!$this->canRead()) return false;
return $this->db->getUsername($this->uid);
}
public function setName($new_name) {