src/components/FormComponent.php
protected function restoreUserSessionBackup()
    {
        if ($this->userSessionBackup === null) {
            unset($_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL]);
        } else {
            $_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL] = $this->userSessionBackup;
        }
    }
protected function restoreUserSessionBackup()
    {
        if ($this->userSessionBackup === null) {
            unset($_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL]);
        } else {
            $_SESSION[self::SESSION_PARAMETER_CLOUDCONTROL] = $this->userSessionBackup;
        }
    }
protected function restoreUserSessionBackup ( ) { if ( $ this -> userSessionBackup === null ) { unset ( $ _SESSION [ self :: SESSION_PARAMETER_CLOUDCONTROL ] ) ; } else { $ _SESSION [ self :: SESSION_PARAMETER_CLOUDCONTROL ] = $ this -> userSessionBackup ; } }
Removes the fake user and restores the existing user
session if it was there
Removes the fake user and restores the existing user session if it was there