Commit 3438458d authored by tbrehm's avatar tbrehm

Raise on_after_insert event when a client has been added with the remoting API.

parent 9e0f1184
......@@ -2139,6 +2139,8 @@ class remoting {
$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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment