source/Application/Model/User.php
public function isExpiredUpdateId($sKey)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sQ = "select 1 from " . $this->getViewName() . " where oxupdateexp >= " . time() . " and MD5( CONCAT( oxid, oxshopid, oxupdatekey ) ) = " . $oDb->quote($sKey);

        return !((bool) $oDb->getOne($sQ));
    }
public function isExpiredUpdateId($sKey)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sQ = "select 1 from " . $this->getViewName() . " where oxupdateexp >= " . time() . " and MD5( CONCAT( oxid, oxshopid, oxupdatekey ) ) = " . $oDb->quote($sKey);

        return !((bool) $oDb->getOne($sQ));
    }
public function isExpiredUpdateId ( $ sKey ) { $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ sQ = "select 1 from " . $ this -> getViewName ( ) . " where oxupdateexp >= " . time ( ) . " and MD5( CONCAT( oxid, oxshopid, oxupdatekey ) ) = " . $ oDb -> quote ( $ sKey ) ; return ! ( ( bool ) $ oDb -> getOne ( $ sQ ) ) ; }
Checks if password update key is not expired yet

@param string $sKey key

@return bool
Checks if password update key is not expired yet