← All changes
|
modules/variables/import-export-customization/runners/import.php
+0
-2
4.3.0-beta3
→
4.1.4
View file →
| @@ -128,9 +128,8 @@ | ||
| 128 | 128 | |
| 129 | 129 | if ( $type_matches ) { |
| 130 | 130 | $existing_var = $existing->get( $existing_entry['id'] ); |
| 131 | 131 | $existing_var->set_value( $variable->value() ); |
| 132 | - $existing_var->set_sync_to_v3( $variable->sync_to_v3() ); | |
| 133 | 132 | |
| 134 | 133 | $result['replaced'][] = [ |
| 135 | 134 | 'import_entry' => $import_entry, |
| 136 | 135 | 'result_entry' => $this->format_variable_as_entry( $existing_var ), |
| @@ -154,9 +153,8 @@ | ||
| 154 | 153 | 'type' => $variable->type(), |
| 155 | 154 | 'label' => $new_label, |
| 156 | 155 | 'value' => $variable->value(), |
| 157 | 156 | 'order' => $existing->get_next_order(), |
| 158 | - 'sync_to_v3' => $variable->sync_to_v3(), | |
| 159 | 157 | ] ); |
| 160 | 158 | |
| 161 | 159 | $existing->add_variable( $new_variable ); |
| 162 | 160 | |