From 12c2a9e2ae60ffc9075111bab7fc76fa36c79437 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Thu, 14 Aug 2014 03:09:58 -0400
Subject: [PATCH] Fixes: FS#3610 - The optional wrning message on form tab change is not showing up when activated

---
 interface/lib/classes/remoting.inc.php |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/interface/lib/classes/remoting.inc.php b/interface/lib/classes/remoting.inc.php
index 9dd5dc7..3fe307d 100644
--- a/interface/lib/classes/remoting.inc.php
+++ b/interface/lib/classes/remoting.inc.php
@@ -331,7 +331,7 @@
 		return $all;
 	}
 
-	//* Get server ip
+	//* Get server ips
 	public function server_ip_get($session_id, $primary_id)
 	{
 		global $app;
@@ -343,20 +343,6 @@
 		$app->uses('remoting_lib');
 		$app->remoting_lib->loadFormDef('../admin/form/server_ip.tform.php');
 		return $app->remoting_lib->getDataRecord($primary_id);
-	}
-	
-	//* Get all server ips
-	public function server_ip_get_by_server_id($session_id, $server_id)
-	{
-		global $app;
-
-		if(!$this->checkPerm($session_id, 'server_ip_get_by_server_id')) {
-			$this->server->fault('permission_denied', 'You do not have the permissions to access this function.');
-			return false;
-		}
-		$sql = "SELECT * FROM server_ip WHERE server_id  = $server_id";
-		$all = $app->db->queryAllRecords($sql);
-		return $all;
 	}
 	
 	//* Add a IP address record

--
Gitblit v1.9.1