From 855d769094d175cadda67c1c451279243533aaa5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 9 Oct 2011 14:27:17 -0400 Subject: Allow username lookup even if $user->canRead()==false --- src/models/Auth.class.php | 1 - 1 file changed, 1 deletion(-) (limited to 'src/models/Auth.class.php') 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) { -- cgit v1.2.3-54-g00ecf