source/Application/Model/User.php
protected function formUserCookieQuery($user, $shopId)
    {
        $query = 'select oxid, oxpassword, oxpasssalt from oxuser '
                 . 'where oxuser.oxpassword != "" and  oxuser.oxactive = 1 and oxuser.oxusername = '
                 . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($user);

        return $query;
    }
protected function formUserCookieQuery($user, $shopId)
    {
        $query = 'select oxid, oxpassword, oxpasssalt from oxuser '
                 . 'where oxuser.oxpassword != "" and  oxuser.oxactive = 1 and oxuser.oxusername = '
                 . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($user);

        return $query;
    }
protected function formUserCookieQuery ( $ user , $ shopId ) { $ query = 'select oxid, oxpassword, oxpasssalt from oxuser ' . 'where oxuser.oxpassword != "" and  oxuser.oxactive = 1 and oxuser.oxusername = ' . \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> quote ( $ user ) ; return $ query ; }
Updates given query. Method is for overriding.

@param string $user
@param string $shopId

@return string
Updates given query . Method is for overriding .