Changeset 2387 for trunk/modules/auth

Show
Ignore:
Timestamp:
03/31/2008 04:30:24 AM (8 months ago)
Author:
Geert
Message:

Oops, follow-up to r2386

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/auth/libraries/Auth.php

    r2386 r2387  
    182182         * Log out a user by removing the related session variables. 
    183183         * 
    184          * @param   bool   completely destroy the session 
    185          * @return  bool 
     184         * @param   boolean   completely destroy the session 
     185         * @return  boolean 
    186186         */ 
    187187        public function logout($destroy = FALSE) 
     
    202202 
    203203                // Double check 
    204                 return isset($_SESSION['auth_user']); 
     204                return ! isset($_SESSION['auth_user']); 
    205205        } 
    206206