From 0cebacf52a380294ebde33741c7a66aa4b836a4f Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 9 Jul 2010 08:46:26 +0000 Subject: [PATCH] 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 --- gosa-plugins/fai/admin/fai/class_faiVariableEntry.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")); } -- 2.30.2