Changeset 2387 for trunk/modules/auth
- Timestamp:
- 03/31/2008 04:30:24 AM (8 months ago)
- Files:
-
- 1 modified
-
trunk/modules/auth/libraries/Auth.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/auth/libraries/Auth.php
r2386 r2387 182 182 * Log out a user by removing the related session variables. 183 183 * 184 * @param bool completely destroy the session185 * @return bool 184 * @param boolean completely destroy the session 185 * @return boolean 186 186 */ 187 187 public function logout($destroy = FALSE) … … 202 202 203 203 // Double check 204 return isset($_SESSION['auth_user']);204 return ! isset($_SESSION['auth_user']); 205 205 } 206 206
