public function unsetVariable($variable)
    {
        // Encrypt variable name?
        if (true === $this->hasEncryption()) {
            $variable = $this->encrypt($variable);
        }

        unset($_SESSION[$variable]);

        return (false === $this->issetVariable($variable));
    }
public function unsetVariable($variable)
    {
        // Encrypt variable name?
        if (true === $this->hasEncryption()) {
            $variable = $this->encrypt($variable);
        }

        unset($_SESSION[$variable]);

        return (false === $this->issetVariable($variable));
    }
public function unsetVariable ( $ variable ) { // Encrypt variable name? if ( true === $ this -> hasEncryption ( ) ) { $ variable = $ this -> encrypt ( $ variable ) ; } unset ( $ _SESSION [ $ variable ] ) ; return ( false === $ this -> issetVariable ( $ variable ) ) ; }
Unsets a variable from session.

@param string $variable The name of the session-variable to unset

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE on success, otherwise FALSE
Unsets a variable from session .