mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Update admin/code/ModelAdmin.php
Changed "Clear Database before import" - which is incorrect (not the whole database gets wiped, only the data in the model at hand) with the simpler: "replace data".
This commit is contained in:
parent
0c9b216894
commit
7523fe4ef7
@ -357,7 +357,7 @@ abstract class ModelAdmin extends LeftAndMain {
|
||||
|
||||
$fields->push(new LiteralField("SpecFor{$modelName}", $specHTML));
|
||||
$fields->push(
|
||||
new CheckboxField('EmptyBeforeImport', _t('ModelAdmin.EMPTYBEFOREIMPORT', 'Clear Database before import'),
|
||||
new CheckboxField('EmptyBeforeImport', _t('ModelAdmin.EMPTYBEFOREIMPORT', 'Replace data'),
|
||||
false)
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user