Code

Moved "id check" to save_object, so we don't need to click 'forward' twice if id...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 Apr 2007 05:26:19 +0000 (05:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 Apr 2007 05:26:19 +0000 (05:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6145 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setupStep_Welcome.inc

index 3afc847b046049cefc36a08cd13ff9c2c154620f..f030f3121191817e1c4ca690e880c4f9d8fd1163 100644 (file)
@@ -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()
-  {
   }
 }