function search_api_solr_update_8404 in Search API Solr 4.x
Migrate skip_schema_check configuration from server to connector plugin.
File
- ./
search_api_solr.install, line 1975 - Install, update and uninstall functions for the Search API Solr module.
Code
function search_api_solr_update_8404() {
foreach (search_api_solr_update_helper_get_backend_configs() as $server_name => $backend_config) {
$backend_config['connector_config']['skip_schema_check'] = $backend_config['skip_schema_check'];
unset($backend_config['skip_schema_check']);
search_api_solr_update_helper_save_backend_config($server_name, $backend_config);
}
}