From 3438458de934a754e4a8ce3b073955b399d9d385 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 09 May 2011 06:08:30 -0400 Subject: [PATCH] Raise on_after_insert event when a client has been added with the remoting API. --- interface/lib/classes/remoting.inc.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/interface/lib/classes/remoting.inc.php b/interface/lib/classes/remoting.inc.php index eaedbc0..8c71b9b 100644 --- a/interface/lib/classes/remoting.inc.php +++ b/interface/lib/classes/remoting.inc.php @@ -2139,6 +2139,8 @@ $app->db->query($sql); + $app->plugin->raiseEvent('client:client:on_after_insert',$this); + if($app->db->errorMessage != '') { $this->server->fault('database_error', $app->db->errorMessage . ' '.$sql); return false; -- Gitblit v1.9.1