From: hickert Date: Fri, 9 Jul 2010 08:46:26 +0000 (+0000) Subject: Updated Variable Handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0cebacf52a380294ebde33741c7a66aa4b836a4f;p=gosa.git Updated Variable Handling -Allow to recreate recently removed variables. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18971 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiVariableEntry.inc b/gosa-plugins/fai/admin/fai/class_faiVariableEntry.inc index aa3159dd9..06603b565 100644 --- a/gosa-plugins/fai/admin/fai/class_faiVariableEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiVariableEntry.inc @@ -82,7 +82,8 @@ class faiVariableEntry extends plugin /* 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")); }