diff --git a/app/Model/AdminSetting.php b/app/Model/AdminSetting.php index 25102dbc3..968c039b9 100644 --- a/app/Model/AdminSetting.php +++ b/app/Model/AdminSetting.php @@ -27,8 +27,6 @@ class AdminSetting extends AppModel if ($this->save($setting_object)) { return true; } else { - $this->create(); - $this->save($setting_object); return $this->validationErrors; } }