From 77c146cb3e29b004afea6024e48c5d2f9dc98f27 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 19 Oct 2009 13:17:15 +0000 Subject: [PATCH] Reverted crappy patch git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14604 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/services/nfs/class_servNfs.inc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc b/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc index 79f3c101a..105d9565d 100644 --- a/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc +++ b/gosa-plugins/goto/admin/systems/services/nfs/class_servNfs.inc @@ -198,12 +198,8 @@ class servnfs extends plugin if(empty($this->name)){ $message[]= msgPool::required(_("Name")); } - if(!preg_match("/^[a-z0-9\._äüö\$]*$/ui",$this->name)){ - $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]\$/ui"); - } else { - if (!preg_match("/^[^\$]+[\$]*\$$/", $this->name)) { - $message[] = _("Hidden shares must have a '$' at the end of the name!"); - } + if(!preg_match("/^[a-z0-9\._äüö]*$/ui",$this->name)){ + $message[]= msgPool::invalid(_("Name"),$this->name,"/[a-z0-9\._äüö]/ui"); } } -- 2.30.2