From: cajus Date: Fri, 30 Oct 2009 09:05:56 +0000 (+0000) Subject: Added additional remove X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=520de7651db7e0f1767a297f721e09fda7c3a8b5;p=gosa.git Added additional remove git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14712 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc index f64861b2b..6b5a7e279 100644 --- a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc +++ b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc @@ -140,6 +140,10 @@ class servrepository extends goService if ($found){ msg_dialog::display(_("Error"), msgPool::stillInUse(_("FAI release"), msgPool::buildList($obj)), ERROR_DIALOG); + }else{ + if(isset($this->repositories[$value])){ + unset($this->repositories[$value]); + } } }else{ if(isset($this->repositories[$value])){