From 36c8a26c02d71905b7ef1f01594c63b693cb44dc Mon Sep 17 00:00:00 2001
From: Michael Fürmann <michael@spicyweb.de>
Date: Tue, 03 Mar 2015 17:30:04 -0500
Subject: [PATCH] Clients limit update

---
 interface/web/client/form/client.tform.php |   16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/interface/web/client/form/client.tform.php b/interface/web/client/form/client.tform.php
index b5bf002..c0bed86 100644
--- a/interface/web/client/form/client.tform.php
+++ b/interface/web/client/form/client.tform.php
@@ -782,9 +782,8 @@
                 'class'=> 'custom_datasource',
                 'function'=> 'client_servers'
             ),
-            'validators'    => array (  0 => array (    'type'  => 'NOTEMPTY',
-                'errmsg'=> 'no_xmpp_server_error'),
-                1 => array ( 'type' => 'CUSTOM',
+            'validators'    => array (
+                0 => array ( 'type' => 'CUSTOM',
                     'class' => 'validate_client',
                     'function' => 'check_used_servers',
                     'errmsg'=> 'xmpp_servers_used'),
@@ -831,17 +830,6 @@
             'formtype' => 'CHECKBOX',
             'default' => 'n',
             'value'  => array(0 => 'n', 1 => 'y')
-        ),
-        'limit_xmpp_auth_options' => array(
-            'datatype' => 'VARCHAR',
-            'formtype' => 'CHECKBOXARRAY',
-            'validators' => array (  0 => array ( 'type' => 'NOTEMPTY',
-                'errmsg'=> 'xmpp_auth_options_notempty'),
-            ),
-            'default' => '',
-            'separator' => ',',
-            'valuelimit' => 'client:xmpp_auth_options',
-            'value'  => array('plain' => 'Plain', 'hashed' => 'Hashed', 'isp' => 'By Mail Account')
         ),
         'limit_xmpp_vjud' => array(
             'datatype' => 'VARCHAR',

--
Gitblit v1.9.1