From 3d06bad1c292ddef53dc384f96bbef7e1cd3725d Mon Sep 17 00:00:00 2001
From: Falko Timme <ft@falkotimme.com>
Date: Fri, 09 Jan 2015 10:32:32 -0500
Subject: [PATCH] - Made sure SQL backups from servers that differ from the server where the website is on can be restored. A download of the backup is not possible in such a case, therefore I hide the "Download" button.

---
 server/lib/classes/monitor_tools.inc.php |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php
index ae1fbd3..f4e4507 100644
--- a/server/lib/classes/monitor_tools.inc.php
+++ b/server/lib/classes/monitor_tools.inc.php
@@ -62,6 +62,9 @@
 				$mainver = array_filter($mainver);
 				$mainver = current($mainver).'.'.next($mainver);
 				switch ($mainver){
+				case "14.10":
+					$relname = "(Utopic Unicorn)";
+					break;
 				case "14.04":
 					$relname = "(Trusty Tahr)";
 					break;
@@ -215,13 +218,11 @@
 				$distver = 'Unknown';
 				$distid = 'centos53';
 				$distbaseid = 'fedora';
-				swriteln("Operating System: CentOS 6 or compatible\n");
 			} elseif(stristr($content, 'CentOS Linux release 7')) {
 				$distname = 'CentOS';
 				$distver = 'Unknown';
 				$distid = 'centos53';
 				$distbaseid = 'fedora';
-				swriteln("Operating System: CentOS 7 or compatible\n");
 			} else {
 				$distname = 'Redhat';
 				$distver = 'Unknown';

--
Gitblit v1.9.1