From 9724f8f13bdc6bfb2f9649c54ad37fb45bea9870 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Tue, 06 Jan 2015 10:41:32 -0500
Subject: [PATCH] Merge remote-tracking branch 'ispc/master' into new-layout-3.1

---
 interface/web/sites/aps_installedpackages_list.php |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/interface/web/sites/aps_installedpackages_list.php b/interface/web/sites/aps_installedpackages_list.php
index 418cc43..a0a934e 100644
--- a/interface/web/sites/aps_installedpackages_list.php
+++ b/interface/web/sites/aps_installedpackages_list.php
@@ -125,10 +125,6 @@
 		else $ils = $rec['install_location'];
 		$rec['install_location_short'] = $ils;
 
-		// Also set a boolean-like variable for the reinstall button (vlibTemplate doesn't allow variable comparisons)
-		// For a reinstall, the package must be already installed successfully and (still be) enabled
-		if($rec['instance_status'] == INSTANCE_SUCCESS && $rec['package_status'] == PACKAGE_ENABLED)
-			$rec['reinstall_possible'] = 'true';
 		// Of course an instance can only then be removed when it's not already tagged for removal
 		if($rec['instance_status'] != INSTANCE_REMOVE && $rec['instance_status'] != INSTANCE_INSTALL)
 			$rec['delete_possible'] = 'true';

--
Gitblit v1.9.1