summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c07f617)
raw | patch | inline | side by side (parent: c07f617)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Apr 2008 13:00:17 +0000 (13:00 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 9 Apr 2008 13:00:17 +0000 (13:00 +0000) |
-do not send warning about installation in progress if host is from incoming
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10301 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10301 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_servGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index f791615f68fd2936ced971b8bcea92cd63af0f8a..3e494c6f190c42126a3dfc78088451f4ca0b9a51 100644 (file)
}
/* Warn the user, that this host is currently installing */
- if($this->currently_installing && !$this->currently_installing_warned){
+ if($this->currently_installing && !$this->currently_installing_warned && !preg_match("/".normalizePreg(get_ou("incomingou"))."/",$this->orig_dn)){
$this->currently_installing_warned = TRUE;
$message[] = _("This host is currently installing, if you really want to save it, save again.");
}