From 7523fe4ef7db7b5b7152a3501fed36ddae39da42 Mon Sep 17 00:00:00 2001 From: Nicolaas Date: Sat, 19 Jan 2013 22:38:55 +1300 Subject: [PATCH] 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". --- admin/code/ModelAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/code/ModelAdmin.php b/admin/code/ModelAdmin.php index 353e2f9c4..aaeee5506 100644 --- a/admin/code/ModelAdmin.php +++ b/admin/code/ModelAdmin.php @@ -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) );