diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-10-09 14:27:17 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-10-09 14:27:17 -0400 |
commit | 855d769094d175cadda67c1c451279243533aaa5 (patch) | |
tree | c1914c7c5f46cc26a7117398164b2a168537f790 /src/models/Auth.class.php | |
parent | f4ea92cc3931535bb749d5e68b7100431dde3652 (diff) |
Allow username lookup even if $user->canRead()==false
Diffstat (limited to 'src/models/Auth.class.php')
-rw-r--r-- | src/models/Auth.class.php | 1 |
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) { |