From 520de7651db7e0f1767a297f721e09fda7c3a8b5 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 30 Oct 2009 09:05:56 +0000 Subject: [PATCH] Added additional remove git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14712 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/services/repository/class_servRepository.inc | 4 ++++ 1 file changed, 4 insertions(+) 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])){ -- 2.30.2