source/Application/Model/NewsSubscribed.php
protected function getSubscribedUserIdByEmail($email)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sEmailAddressQuoted = $database->quote($email);
        $userOxid = $database->getOne("select oxid from oxnewssubscribed where oxemail = {$sEmailAddressQuoted} ");

        return $userOxid;
    }
protected function getSubscribedUserIdByEmail($email)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sEmailAddressQuoted = $database->quote($email);
        $userOxid = $database->getOne("select oxid from oxnewssubscribed where oxemail = {$sEmailAddressQuoted} ");

        return $userOxid;
    }
protected function getSubscribedUserIdByEmail ( $ email ) { $ database = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ sEmailAddressQuoted = $ database -> quote ( $ email ) ; $ userOxid = $ database -> getOne ( "select oxid from oxnewssubscribed where oxemail = {$sEmailAddressQuoted} " ) ; return $ userOxid ; }
Get subscribed user id by email.

@param string $email

@return string
Get subscribed user id by email .