protected function fetchNextUpdateTime()
    {
        // Function is called inside a transaction or from admin backend which uses master connection only.
        // Transaction picks master automatically (see ESDEV-3804 and ESDEV-3822).
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        // fetching next update time
        $sQ = $this->getQueryToFetchNextUpdateTime();

        $iTimeToUpdate = $database->getOne(sprintf($sQ, "`oxarticles`"));

        return $iTimeToUpdate;
    }