From d933cc2708fe10e648a9b454ba4c0b81ebb606c7 Mon Sep 17 00:00:00 2001 From: Marius Burkard <m.burkard@pixcept.de> Date: Wed, 04 May 2016 03:44:14 -0400 Subject: [PATCH] Merge branch 'master' into 'stable-3.1' --- interface/web/client/form/client.tform.php | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/interface/web/client/form/client.tform.php b/interface/web/client/form/client.tform.php index 34cdd2e..3a8d4f2 100644 --- a/interface/web/client/form/client.tform.php +++ b/interface/web/client/form/client.tform.php @@ -594,9 +594,7 @@ 'class'=> 'custom_datasource', 'function'=> 'client_servers' ), - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'no_mail_server_error'), - 1 => array ( 'type' => 'CUSTOM', + 'validators' => array ( 0 => array ( 'type' => 'CUSTOM', 'class' => 'validate_client', 'function' => 'check_used_servers', 'errmsg'=> 'mail_servers_used'), @@ -919,9 +917,7 @@ 'class'=> 'custom_datasource', 'function'=> 'client_servers' ), - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'no_web_server_error'), - 1 => array ( 'type' => 'CUSTOM', + 'validators' => array ( 0 => array ( 'type' => 'CUSTOM', 'class' => 'validate_client', 'function' => 'check_used_servers', 'errmsg'=> 'web_servers_used'), @@ -1141,9 +1137,7 @@ 'class'=> 'custom_datasource', 'function'=> 'client_servers' ), - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'no_dns_server_error'), - 1 => array ( 'type' => 'CUSTOM', + 'validators' => array ( 0 => array ( 'type' => 'CUSTOM', 'class' => 'validate_client', 'function' => 'check_used_servers', 'errmsg'=> 'dns_servers_used'), @@ -1238,9 +1232,7 @@ 'class'=> 'custom_datasource', 'function'=> 'client_servers' ), - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'no_db_server_error'), - 1 => array ( 'type' => 'CUSTOM', + 'validators' => array ( 0 => array ( 'type' => 'CUSTOM', 'class' => 'validate_client', 'function' => 'check_used_servers', 'errmsg'=> 'db_servers_used'), -- Gitblit v1.9.1