From: hickert Date: Thu, 20 Oct 2005 08:31:04 +0000 (+0000) Subject: Removed cn checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8de833d8531acbb32d8cea6ab1788e0ca509ab2b;p=gosa.git Removed cn checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1635 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiHookEntry.inc b/plugins/admin/fai/class_faiHookEntry.inc index 1ab8d6c1a..f9f6b5e08 100644 --- a/plugins/admin/fai/class_faiHookEntry.inc +++ b/plugins/admin/fai/class_faiHookEntry.inc @@ -100,10 +100,6 @@ class faiHookEntry extends plugin $message[] = _("Please enter a name."); } - if(preg_match("/[^0-9a-z]/i",$this->cn)){ - $message[] = _("Please enter a valid name. Only a-Z 0-9 are allowed."); - } - return ($message); } diff --git a/plugins/admin/fai/class_faiProfile.inc b/plugins/admin/fai/class_faiProfile.inc index 5ca3329b1..809a1eb22 100644 --- a/plugins/admin/fai/class_faiProfile.inc +++ b/plugins/admin/fai/class_faiProfile.inc @@ -212,10 +212,6 @@ class faiProfile extends plugin { $message= array(); - if((empty($this->cn))||(preg_match("/[^a-z0-9]/i",$this->cn))){ - $message[]=_("Please enter a valid name. Only 0-9 a-Z are allowed here."); - } - if(count($this->FAIclasses) == 0){ $message[]=_("Please assign at least one class to this profile."); } diff --git a/plugins/admin/fai/class_faiScriptEntry.inc b/plugins/admin/fai/class_faiScriptEntry.inc index 13d5bdb08..418b462da 100644 --- a/plugins/admin/fai/class_faiScriptEntry.inc +++ b/plugins/admin/fai/class_faiScriptEntry.inc @@ -95,10 +95,6 @@ class faiScriptEntry extends plugin $message[] = _("Please enter a name."); } - if(preg_match("/[^0-9a-z]/i",$this->cn)){ - $message[] = _("Please enter a valid name. Only a-Z 0-9 are allowed."); - } - return ($message); } diff --git a/plugins/admin/fai/class_faiVariableEntry.inc b/plugins/admin/fai/class_faiVariableEntry.inc index ac2317065..a73a13ab1 100644 --- a/plugins/admin/fai/class_faiVariableEntry.inc +++ b/plugins/admin/fai/class_faiVariableEntry.inc @@ -83,10 +83,6 @@ class faiVariableEntry extends plugin $message[] = _("Please enter a name."); } - if(preg_match("/[^0-9a-z_]/i",$this->cn)){ - $message[] = _("Please enter a valid name. Only a-Z 0-9 are allowed."); - } - return ($message); }