source/Application/Model/User.php
public function loadUserByUpdateId($sUid)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sQ = "select oxid from " . $this->getViewName() . " where oxupdateexp >= " . time() . " and MD5( CONCAT( oxid, oxshopid, oxupdatekey ) ) = " . $oDb->quote($sUid);
        if ($sUserId = $oDb->getOne($sQ)) {
            return $this->load($sUserId);
        }
    }
public function loadUserByUpdateId($sUid)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sQ = "select oxid from " . $this->getViewName() . " where oxupdateexp >= " . time() . " and MD5( CONCAT( oxid, oxshopid, oxupdatekey ) ) = " . $oDb->quote($sUid);
        if ($sUserId = $oDb->getOne($sQ)) {
            return $this->load($sUserId);
        }
    }
public function loadUserByUpdateId ( $ sUid ) { $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ sQ = "select oxid from " . $ this -> getViewName ( ) . " where oxupdateexp >= " . time ( ) . " and MD5( CONCAT( oxid, oxshopid, oxupdatekey ) ) = " . $ oDb -> quote ( $ sUid ) ; if ( $ sUserId = $ oDb -> getOne ( $ sQ ) ) { return $ this -> load ( $ sUserId ) ; } }
Tries to load user object by passed update id. Update id is
generated when user forgot passwords and wants to update it

@param string $sUid update id

@return oxuser
Tries to load user object by passed update id . Update id is generated when user forgot passwords and wants to update it