From 11c796f26e50179811d9c32b7437ee49796aefe0 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 12 Dec 2012 05:29:12 -0500
Subject: [PATCH] Fixed: FS#2578 - APS Installer: Reinstall doesn't seem to work

---
 interface/web/sites/aps_do_operation.php |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/interface/web/sites/aps_do_operation.php b/interface/web/sites/aps_do_operation.php
index c3362ae..ad165f3 100644
--- a/interface/web/sites/aps_do_operation.php
+++ b/interface/web/sites/aps_do_operation.php
@@ -81,7 +81,8 @@
         WHERE id = ".$app->db->quote($_GET['id'])." AND 
         (instance_status = ".INSTANCE_SUCCESS." OR instance_status = ".INSTANCE_ERROR.");");
     if($check['id'] > 0) $gui->deleteInstance($_GET['id']);
-    echo $app->lng('Installation_remove');
+    //echo $app->lng('Installation_remove');
+	@header('Location:aps_installedpackages_list.php');
 }
 else if($_GET['action'] == 'reinstall_instance')
 {
@@ -105,6 +106,7 @@
     if(!$check) die('Check failed'); // normally this might not happen at all, so just die
     
     $gui->reinstallInstance($_GET['id']);
-    echo $app->lng('Installation_task');
+    //echo $app->lng('Installation_task');
+	@header('Location:aps_installedpackages_list.php');
 }
 ?>

--
Gitblit v1.9.1