public function logout() {
        $response=CodeBank_ClientAPI::responseBase();
        
        //Session now expired
        $response['session']='expired';
        
        $member=Member::currentUser();
        if($member) {
            $member->logOut();
        }
        
        return $response;
    }
public function logout() {
        $response=CodeBank_ClientAPI::responseBase();
        
        //Session now expired
        $response['session']='expired';
        
        $member=Member::currentUser();
        if($member) {
            $member->logOut();
        }
        
        return $response;
    }
public function logout ( ) { $ response = CodeBank_ClientAPI :: responseBase ( ) ; //Session now expired $ response [ 'session' ] = 'expired' ; $ member = Member :: currentUser ( ) ; if ( $ member ) { $ member -> logOut ( ) ; } return $ response ; }
Closes the users session
@return {array} Default response base
Closes the users session