source/Core/DatabaseProvider.php
protected function isDatabaseConfigured(\OxidEsales\Eshop\Core\ConfigFile $config)
    {
        $isValid = true;

        // If the shop has not been configured yet the hostname has the format '<dbHost>'
        if (false  !== strpos($config->getVar('dbHost'), '<')) {
            $isValid = false;
        }

        return $isValid;
    }
protected function isDatabaseConfigured(\OxidEsales\Eshop\Core\ConfigFile $config)
    {
        $isValid = true;

        // If the shop has not been configured yet the hostname has the format '<dbHost>'
        if (false  !== strpos($config->getVar('dbHost'), '<')) {
            $isValid = false;
        }

        return $isValid;
    }
protected function isDatabaseConfigured ( \ OxidEsales \ Eshop \ Core \ ConfigFile $ config ) { $ isValid = true ; // If the shop has not been configured yet the hostname has the format '<dbHost>' if ( false !== strpos ( $ config -> getVar ( 'dbHost' ) , '<' ) ) { $ isValid = false ; } return $ isValid ; }
Return false if the database connection has not been configured in the eShop configuration file.

@param ConfigFile $config

@return bool
Return false if the database connection has not been configured in the eShop configuration file .