source/Application/Model/ArticleList.php
protected function _canUpdatePrices()
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $blCan = false;

        // crontab is off?
        if (!$oConfig->getConfigParam("blUseCron")) {
            $iTimeToUpdate = $oConfig->getConfigParam("iTimeToUpdatePrices");
            if (!$iTimeToUpdate || $iTimeToUpdate <= \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime()) {
                $blCan = true;
            }
        }

        return $blCan;
    }
protected function _canUpdatePrices()
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $blCan = false;

        // crontab is off?
        if (!$oConfig->getConfigParam("blUseCron")) {
            $iTimeToUpdate = $oConfig->getConfigParam("iTimeToUpdatePrices");
            if (!$iTimeToUpdate || $iTimeToUpdate <= \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime()) {
                $blCan = true;
            }
        }

        return $blCan;
    }
protected function _canUpdatePrices ( ) { $ oConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ blCan = false ; // crontab is off? if ( ! $ oConfig -> getConfigParam ( "blUseCron" ) ) { $ iTimeToUpdate = $ oConfig -> getConfigParam ( "iTimeToUpdatePrices" ) ; if ( ! $ iTimeToUpdate || $ iTimeToUpdate <= \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsDate ( ) -> getTime ( ) ) { $ blCan = true ; } } return $ blCan ; }
Checks if price update can be executed - current time > next price update time

@return bool
Checks if price update can be executed - current time > next price update time