From 6fc581e6881a105995e7b06c5eed28808b361d60 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 9 May 2007 09:03:22 +0000 Subject: [PATCH] Updated default values git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6315 594d385d-05f5-0310-b6e9-bd551577e9d8 --- setup/class_setupStep_Feedback.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/setup/class_setupStep_Feedback.inc b/setup/class_setupStep_Feedback.inc index 191bab8f8..fd6e394c5 100644 --- a/setup/class_setupStep_Feedback.inc +++ b/setup/class_setupStep_Feedback.inc @@ -28,8 +28,8 @@ class Step_Feedback extends setup_step var $organization = ""; var $eMail = ""; var $name = ""; - var $subscribe = TRUE; - var $use_gosa_announce = TRUE; + var $subscribe = FALSE; + var $use_gosa_announce = FALSE; var $feedback_url = "http://oss.gonicus.de/gosa-feedback/"; var $get_started = TRUE; @@ -178,6 +178,11 @@ class Step_Feedback extends setup_step if(!is_email($this->eMail) || empty($this->eMail)){ $msgs[] = _("Please specify a valid email address."); } + + if(!$this->subscribe && !$this->use_gosa_announce){ + $msgs[] = _("You should have enabled at least one option, to subscribe or send your feedback."); + } + return($msgs); } -- 2.30.2