MINOR: removed unnesscary ShowOnLoad save since this is now a CustomSetting field. #5930

This commit is contained in:
Will Rossiter 2010-08-13 23:51:26 +00:00
parent a203bcd725
commit 5f4d4e7d28
1 changed files with 0 additions and 1 deletions

View File

@ -264,7 +264,6 @@ class EditableFormField extends DataObject {
$this->Sort = (isset($data['Sort'])) ? $data['Sort'] : null;
$this->Required = !empty($data['Required']) ? 1 : 0;
$this->Name = $this->class.$this->ID;
$this->ShowOnLoad = (isset($data['ShowOnLoad']) && $data['ShowOnLoad'] == "Show") ? 1 : 0;
$this->CustomRules = "";
$this->CustomErrorMessage = (isset($data['CustomErrorMessage'])) ? $data['CustomErrorMessage'] : "";
$this->CustomSettings = "";