From 7be71b8b69e3423aa036d8f43e5bf7afeff05492 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 20 Apr 2007 05:26:19 +0000 Subject: [PATCH] Moved "id check" to save_object, so we don't need to click 'forward' twice if id is correct. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6145 594d385d-05f5-0310-b6e9-bd551577e9d8 --- setup/class_setupStep_Welcome.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/setup/class_setupStep_Welcome.inc b/setup/class_setupStep_Welcome.inc index 3afc847b0..f030f3121 100644 --- a/setup/class_setupStep_Welcome.inc +++ b/setup/class_setupStep_Welcome.inc @@ -41,6 +41,13 @@ class Step_Welcome extends setup_step } function execute() + { + $smarty = get_smarty(); + $smarty->assign('auth_id', session_id()); + return($smarty->fetch(get_template_path("setup_welcome.tpl",TRUE,dirname(__FILE__)))); + } + + function save_object() { $id = ""; @@ -57,13 +64,6 @@ class Step_Welcome extends setup_step $this->is_completed = false; } - $smarty = get_smarty(); - $smarty->assign('auth_id', session_id()); - return($smarty->fetch(get_template_path("setup_welcome.tpl",TRUE,dirname(__FILE__)))); - } - - function save_object() - { } } -- 2.30.2