source/Application/Controller/Admin/NavigationController.php
protected function _checkVersion()
    {
        $edition = \OxidEsales\Eshop\Core\Registry::getConfig()->getEdition();
        $query = 'http://admin.oxid-esales.com/' . $edition . '/onlinecheck.php?getlatestversion';
        if ($version = \OxidEsales\Eshop\Core\Registry::getUtilsFile()->readRemoteFileAsString($query)) {
            // current version is older ..
            if (version_compare(\OxidEsales\Eshop\Core\Registry::getConfig()->getVersion(), $version) == '-1') {
                return sprintf(\OxidEsales\Eshop\Core\Registry::getLang()->translateString('NAVIGATION_NEWVERSIONAVAILABLE'), $version);
            }
        }
    }
protected function _checkVersion()
    {
        $edition = \OxidEsales\Eshop\Core\Registry::getConfig()->getEdition();
        $query = 'http://admin.oxid-esales.com/' . $edition . '/onlinecheck.php?getlatestversion';
        if ($version = \OxidEsales\Eshop\Core\Registry::getUtilsFile()->readRemoteFileAsString($query)) {
            // current version is older ..
            if (version_compare(\OxidEsales\Eshop\Core\Registry::getConfig()->getVersion(), $version) == '-1') {
                return sprintf(\OxidEsales\Eshop\Core\Registry::getLang()->translateString('NAVIGATION_NEWVERSIONAVAILABLE'), $version);
            }
        }
    }
protected function _checkVersion ( ) { $ edition = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getEdition ( ) ; $ query = 'http://admin.oxid-esales.com/' . $ edition . '/onlinecheck.php?getlatestversion' ; if ( $ version = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsFile ( ) -> readRemoteFileAsString ( $ query ) ) { // current version is older .. if ( version_compare ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getVersion ( ) , $ version ) == '-1' ) { return sprintf ( \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> translateString ( 'NAVIGATION_NEWVERSIONAVAILABLE' ) , $ version ) ; } } }
Checks if newer shop version available. If true - returns message

@return string
Checks if newer shop version available . If true - returns message