summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58a2605)
raw | patch | inline | side by side (parent: 58a2605)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jul 2010 08:46:26 +0000 (08:46 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jul 2010 08:46:26 +0000 (08:46 +0000) |
-Allow to recreate recently removed variables.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18971 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18971 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiVariableEntry.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiVariableEntry.inc b/gosa-plugins/fai/admin/fai/class_faiVariableEntry.inc
index aa3159dd9d866bf201ae33190bd8aaf73ff651a0..06603b5656c081e2c0cccac9838abf69fe410ad2 100644 (file)
/* Call common method to give check the hook */
$message= plugin::check();
- if(isset($this->parent->SubObjects[$this->cn]) && $this->cn != $this->orig_cn){
+ if(isset($this->parent->SubObjects[$this->cn]) && $this->cn != $this->orig_cn &&
+ $this->parent->SubObjects[$this->cn]['status'] != 'delete'){
$message[] = msgPool::duplicated(_("Name"));
}