From bfed9251fc43e12939bfcabbf4baac9ffd3fd7a2 Mon Sep 17 00:00:00 2001
From: latham <latham@ispconfig3>
Date: Fri, 15 Jul 2011 16:17:40 -0400
Subject: [PATCH] Allow numbers in email account names

---
 server/mods-available/remoteaction_core_module.inc.php |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/server/mods-available/remoteaction_core_module.inc.php b/server/mods-available/remoteaction_core_module.inc.php
index ebdd404..6bf3ad3 100644
--- a/server/mods-available/remoteaction_core_module.inc.php
+++ b/server/mods-available/remoteaction_core_module.inc.php
@@ -134,19 +134,19 @@
 		/*
 		 * Do the update
 		 */
-		exec("aptitude update");
-		exec("aptitude upgrade -y");
-
-		//TODO : change this when distribution information has been integrated into server record
-		if(file_exists('/etc/gentoo-release')) {
-			exec("glsa-check -f --nocolor affected");
-		}
-		else {
-			exec("aptitude update");
-			exec("aptitude safe-upgrade -y");
-		}
-		
-		/*
+		exec("aptitude update");
+		exec("aptitude safe-upgrade -y");
+
+		//TODO : change this when distribution information has been integrated into server record
+		if(file_exists('/etc/gentoo-release')) {
+			exec("glsa-check -f --nocolor affected");
+		}
+		else {
+			exec("aptitude update");
+			exec("aptitude safe-upgrade -y");
+		}
+		
+		/*
 		 * All well done!
 		 */
 		$this->_actionDone($action['action_id'], 'ok');

--
Gitblit v1.9.1