summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3fe7324)
raw | patch | inline | side by side (parent: 3fe7324)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Nov 2007 12:31:21 +0000 (12:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Nov 2007 12:31:21 +0000 (12:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7813 594d385d-05f5-0310-b6e9-bd551577e9d8
index c3941b5f89c999e6b2a24c39f763fb0cf471fbca..12a2ed2df6554f4cbc9744d280b1d99194a50d45 100644 (file)
plugin::save_object();
#echo "base = ".$_POST['base']."<br>\n";
#}
- if (chkacl($this->acl, "create") == "") {
+# if (chkacl($this->acl, "create") == "") {
$this->base = $_POST['base'];
- }
+# }
}
function delete() {
diff --git a/plugins/admin/systems/class_componentGeneric.inc b/plugins/admin/systems/class_componentGeneric.inc
index 2511398525e093084782ba590b84ef2553830cd3..1a0d15caa7c0bdcae410f0738085411e3ada26de 100644 (file)
}
/* Check if given name is a valid host/dns name */
- if(!is_dns_name($this->cn) && chkacl ($this->acl, "cn") == ""){
+ if(!is_dns_name($this->cn)){
$message[] = _("Please specify a valid name for this object.");
}
diff --git a/plugins/admin/systems/class_phoneGeneric.inc b/plugins/admin/systems/class_phoneGeneric.inc
index 021990c8af199973c958cf2012af98bb50b628c6..f3269eeb3c499509159cce76069b153b001f9fa1 100644 (file)
}
/* Check if given name is a valid host/dns name */
- if(!is_dns_name($this->cn) && chkacl ($this->acl, "cn") == ""){
+ if(!is_dns_name($this->cn) ){
$message[] = _("Please specify a valid name for this object.");
}
diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc
index cf0eeffd901efacb958eb79d8d49434b31cb3cf0..b46e85b29ceb61d2f4b63dd497a77d7c9dbf97de 100644 (file)
}
/* Check if given name is a valid host/dns name */
- if(!is_dns_name($this->cn) && chkacl ($this->acl, "cn") == ""){
+ if(!is_dns_name($this->cn)){
$message[] = _("Please specify a valid name for this object.");
}
diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc
index f10770f3e8db4ea045deb068c124e84df28ee11f..f129061de5e9610d6aa45e04810c3a156d14c82c 100644 (file)
}
/* Check if given name is a valid host/dns name */
- if(!is_dns_name($this->cn) && chkacl ($this->acl, "cn") == ""){
+ if(!is_dns_name($this->cn) ){
$message[] = _("Please specify a valid name for this object.");
}
diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index a19cd8617f9b602fa330ef2b2f250aa00529798c..eb389834517f25e228f58c0b8f29d779a7d329c6 100644 (file)
}
/* Check if given name is a valid host/dns name */
- if(!is_dns_name($this->cn) && chkacl ($this->acl, "cn") == ""){
+ if(!is_dns_name($this->cn)){
$message[] = _("Please specify a valid name for this object.");
}