Changeset 15777
- Timestamp:
- 02/25/09 16:38:34 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfGuardPlugin/branches/1.0/lib/user/sfGuardSecurityUser.class.php
r10134 r15777 35 35 public function hasCredential($credential, $useAnd = true) 36 36 { 37 if (empty($credential)) 38 { 39 return true; 40 } 41 37 42 if (!$this->getGuardUser()) 38 43 { plugins/sfGuardPlugin/branches/1.1/lib/user/sfGuardSecurityUser.class.php
r10913 r15777 48 48 public function hasCredential($credential, $useAnd = true) 49 49 { 50 if (empty($credential)) 51 { 52 return true; 53 } 54 50 55 if (!$this->getGuardUser()) 51 56 { plugins/sfGuardPlugin/branches/1.2/lib/user/sfGuardSecurityUser.class.php
r12075 r15777 48 48 public function hasCredential($credential, $useAnd = true) 49 49 { 50 if (empty($credential)) 51 { 52 return true; 53 } 54 50 55 if (!$this->getGuardUser()) 51 56 {