Code

REGISTERED_FLAG is now REGISTERED with correct integer
[gosa.git] / gosa-core / setup / class_setup.inc
index e16bc546a4e44e9544b1553d203a054c1dd60eec..151d29fdd1fa5d8eb6d1df351c957fa9c11fa1d0 100644 (file)
@@ -49,7 +49,7 @@ class setup
 
     /* Ensure that setup is not reachable if gosa.conf (CONFIG_FILE) */
     if(file_exists(CONFIG_DIR."/".CONFIG_FILE)){
-      session_destroy();
+      session::destroy();
       header("Location: index.php")    ;
       exit();
     }
@@ -73,7 +73,7 @@ class setup
     /* display step error msgs */
     $msgs = $this->o_steps[$this->i_current]->check();
     foreach($msgs as $msg){
-      print_red($msg);
+      msg_dialog::display(_("Setup error"), $msg, ERROR_DIALOG);
     }
 
     $this->o_steps[$this->i_last]->set_active(FALSE);