source/Core/UtilsServer.php
public function deleteUserCookie($sShopId = null)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $sShopId = (!$sShopId) ? \OxidEsales\Eshop\Core\Registry::getConfig()->getShopId() : $sShopId;
        $sSslUrl = $myConfig->getSslShopUrl();
        if (stripos($sSslUrl, 'https') === 0) {
            $blSsl = true;
        } else {
            $blSsl = false;
        }

        $this->_aUserCookie[$sShopId] = '';
        $this->setOxCookie('oxid_' . $sShopId, '', \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime() - 3600, '/', null, true, $blSsl);
        $this->setOxCookie('oxid_' . $sShopId . '_autologin', '0', \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime() - 3600, '/', null, true, false);
    }
public function deleteUserCookie($sShopId = null)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $sShopId = (!$sShopId) ? \OxidEsales\Eshop\Core\Registry::getConfig()->getShopId() : $sShopId;
        $sSslUrl = $myConfig->getSslShopUrl();
        if (stripos($sSslUrl, 'https') === 0) {
            $blSsl = true;
        } else {
            $blSsl = false;
        }

        $this->_aUserCookie[$sShopId] = '';
        $this->setOxCookie('oxid_' . $sShopId, '', \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime() - 3600, '/', null, true, $blSsl);
        $this->setOxCookie('oxid_' . $sShopId . '_autologin', '0', \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime() - 3600, '/', null, true, false);
    }
public function deleteUserCookie ( $ sShopId = null ) { $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ sShopId = ( ! $ sShopId ) ? \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getShopId ( ) : $ sShopId ; $ sSslUrl = $ myConfig -> getSslShopUrl ( ) ; if ( stripos ( $ sSslUrl , 'https' ) === 0 ) { $ blSsl = true ; } else { $ blSsl = false ; } $ this -> _aUserCookie [ $ sShopId ] = '' ; $ this -> setOxCookie ( 'oxid_' . $ sShopId , '' , \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsDate ( ) -> getTime ( ) - 3600 , '/' , null , true , $ blSsl ) ; $ this -> setOxCookie ( 'oxid_' . $ sShopId . '_autologin' , '0' , \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsDate ( ) -> getTime ( ) - 3600 , '/' , null , true , false ) ; }
Deletes user cookie data

@param string $sShopId shop ID (default null)
Deletes user cookie data