Commit cf729a4d authored by Martin Keereman's avatar Martin Keereman
Browse files

Skip new config versions

parent de66d3db
...@@ -59,6 +59,11 @@ function better_exposed_filters_update_8001() { ...@@ -59,6 +59,11 @@ function better_exposed_filters_update_8001() {
} }
// Filter settings. // Filter settings.
else { else {
// This would indicate a newer version of the config already.
if ($type === 'filter') {
continue;
}
$field_name = $type; $field_name = $type;
$bef_settings['filter'][$field_name] = [ $bef_settings['filter'][$field_name] = [
'plugin_id' => $option['bef_format'] ?? 'default' 'plugin_id' => $option['bef_format'] ?? 'default'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment