function search_api_solr_update_8328 in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 search_api_solr.install \search_api_solr_update_8328()
Install Solr Cache Configs.
File
- ./
search_api_solr.install, line 1754 - Install, update and uninstall functions for the Search API Solr module.
Code
function search_api_solr_update_8328() {
// search_api_solr_update_helper_install_configs();
foreach (search_api_solr_update_helper_get_backend_configs() as $server_name => $backend_config) {
if (!isset($backend_config['environment'])) {
$backend_config['environment'] = 'default';
search_api_solr_update_helper_save_backend_config($server_name, $backend_config);
}
}
}