From 3b7833698eabec8b9f370b76dc37473f250ff06e Mon Sep 17 00:00:00 2001
From: jmontoya <jmontoya@ispconfig3>
Date: Wed, 04 Aug 2010 09:27:19 -0400
Subject: [PATCH] Adding the sites_web_domain_plugin 

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

diff --git a/interface/lib/classes/remoting.inc.php b/interface/lib/classes/remoting.inc.php
index 4716437..571084b 100644
--- a/interface/lib/classes/remoting.inc.php
+++ b/interface/lib/classes/remoting.inc.php
@@ -1197,7 +1197,8 @@
 			$this->server->fault('permission_denied', 'You do not have the permissions to access this function.');
 			return false;
 		}
-		return $this->insertQuery('../sites/form/web_domain.tform.php',$client_id,$params);
+		$affected_rows =  $this->insertQuery('../sites/form/web_domain.tform.php',$client_id,$params, 'sites:web_domain:on_after_insert');
+		return $affected_rows;		
 	}
 	
 	//* Update a record

--
Gitblit v1.9.1