From a2b6197881fabdb417bd03fea15e2750f1160490 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 25 Nov 2011 14:03:48 -0500
Subject: [PATCH] Removed ISPConfig update function from interface. Use ispconfig_update.sh on the shell instead.

---
 server/mods-available/remoteaction_core_module.inc.php |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/server/mods-available/remoteaction_core_module.inc.php b/server/mods-available/remoteaction_core_module.inc.php
index 1f6ab09..49294f4 100644
--- a/server/mods-available/remoteaction_core_module.inc.php
+++ b/server/mods-available/remoteaction_core_module.inc.php
@@ -119,12 +119,14 @@
 					* we stop executing the actions not to waste more time */
 					return;
 				}
+				
 				if ($action['action_type'] == 'ispc_update') {
 					/* do the update */
-					$this->_doIspCUpdate($action);
+					// Update function has been removed
+					// $this->_doIspCUpdate($action);
 					/* this action takes so much time,
 					* we stop executing the actions not to waste more time */
-					return;
+					$this->_actionDone($action['action_id'], 'ok');
 				}
 				if ($action['action_type'] == 'openvz_start_vm') {
 					$veid = intval($action['action_param']);

--
Gitblit v1.9.1