source/Core/Smarty/Plugin/EmosAdapter.php
private function _setUserRegistration($oEmos, $oUser)
    {
        $iError = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('newslettererror');
        $iSuccess = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('success');

        if ($iError && $iError < 0) {
            $oEmos->addRegister($oUser ? $oUser->getId() : 'NULL', abs($iError));
        }

        if ($iSuccess && $iSuccess > 0 && $oUser) {
            $oEmos->addRegister($oUser->getId(), 0);
        }
    }
private function _setUserRegistration($oEmos, $oUser)
    {
        $iError = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('newslettererror');
        $iSuccess = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('success');

        if ($iError && $iError < 0) {
            $oEmos->addRegister($oUser ? $oUser->getId() : 'NULL', abs($iError));
        }

        if ($iSuccess && $iSuccess > 0 && $oUser) {
            $oEmos->addRegister($oUser->getId(), 0);
        }
    }
private function _setUserRegistration ( $ oEmos , $ oUser ) { $ iError = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'newslettererror' ) ; $ iSuccess = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'success' ) ; if ( $ iError && $ iError < 0 ) { $ oEmos -> addRegister ( $ oUser ? $ oUser -> getId ( ) : 'NULL' , abs ( $ iError ) ) ; } if ( $ iSuccess && $ iSuccess > 0 && $ oUser ) { $ oEmos -> addRegister ( $ oUser -> getId ( ) , 0 ) ; } }
Sets user registration action to Emos.

@param \OxidEsales\Eshop\Core\Smarty\Plugin\Emos $oEmos
@param \OxidEsales\Eshop\Application\Model\User $oUser
Sets user registration action to Emos .