From fae3831e19bf5e8a6b23a40313413b227c0d24aa Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 23 Nov 2006 05:10:36 +0000 Subject: [PATCH] Skip check for H/V Sync values. No must field because the X Server detects the values automatically git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5197 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/class_terminalService.inc | 34 ------------------- 1 file changed, 34 deletions(-) diff --git a/plugins/admin/systems/class_terminalService.inc b/plugins/admin/systems/class_terminalService.inc index 305c73224..1d4ae885a 100644 --- a/plugins/admin/systems/class_terminalService.inc +++ b/plugins/admin/systems/class_terminalService.inc @@ -355,40 +355,6 @@ class termservice extends plugin { /* Call common method to give check the hook */ $message= plugin::check(); - - /* Default entries can use blank hsync/vsync entries */ - if ($this->dn != "" && $this->cn != "default" && $this->cn != "wdefault"){ - - /* Check vsync for correct usage */ - $val= preg_replace ("/\s/", "", $this->gotoXVsync); - if (!preg_match ("/^\d+(\.\d+)?(\-\d+(\.\d+)?)?$/", $val) - && chkacl ($this->acl, "gotoXVsync") == ""){ - - $message[]= _("Please specify a valid VSync range."); - } elseif (chkacl ($this->acl, "gotoXVsync") == ""){ - list($v1,$v2)= split ("-", $val); - if ($v2 != ""){ - if ($v1 > $v2){ - $message[]= _("Please specify a valid VSync range."); - } - } - } - - /* Check hsync for correct usage */ - $val= preg_replace ("/\s/", "", $this->gotoXHsync); - if (!preg_match ("/^\d+(\.\d+)?(\-\d+(\.\d+)?)?$/", $val) - && chkacl ($this->acl, "gotoXHsync") == ""){ - - $message[]= _("Please specify a valid HSync range."); - } elseif (chkacl ($this->acl, "gotoXHsync") == ""){ - list($v1,$v2)= split ("-", $val); - if ($v2 != ""){ - if ($v1 > $v2){ - $message[]= _("Please specify a valid HSync range."); - } - } - } - } return ($message); } -- 2.30.2