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:
Nicolaas 2013-01-19 22:38:55 +13:00
parent 0c9b216894
commit 7523fe4ef7

View File

@ -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)
);