Code

Completed generic tab for dojo testing
[gosa.git] / setup / class_setupStep_Welcome.inc
index 1546419586afd0e65e59329f09d68d3ab2e65e79..f030f3121191817e1c4ca690e880c4f9d8fd1163 100644 (file)
@@ -42,6 +42,15 @@ 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 = "";
+    
     /* Get auth ID from file */
     if (file_exists('/tmp/gosa.auth') && is_readable('/tmp/gosa.auth')){
       $contents= file('/tmp/gosa.auth');
@@ -55,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()
-  {
   }
 }