source/Application/Controller/Admin/ShopLicense.php
protected function _canUpdate()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        $blIsMallAdmin = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('malladmin');
        if (!$blIsMallAdmin) {
            return false;
        }

        if ($myConfig->isDemoShop()) {
            return false;
        }

        return true;
    }
protected function _canUpdate()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();

        $blIsMallAdmin = \OxidEsales\Eshop\Core\Registry::getSession()->getVariable('malladmin');
        if (!$blIsMallAdmin) {
            return false;
        }

        if ($myConfig->isDemoShop()) {
            return false;
        }

        return true;
    }
protected function _canUpdate ( ) { $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ blIsMallAdmin = \ OxidEsales \ Eshop \ Core \ Registry :: getSession ( ) -> getVariable ( 'malladmin' ) ; if ( ! $ blIsMallAdmin ) { return false ; } if ( $ myConfig -> isDemoShop ( ) ) { return false ; } return true ; }
Checks if the license key update is allowed.

@return bool
Checks if the license key update is allowed .