From 83f8d33e459bd273ee2be3656c9bd4d4ed4245e8 Mon Sep 17 00:00:00 2001 From: psc Date: Thu, 29 Apr 2010 09:03:23 +0000 Subject: [PATCH] Apply bugfix for #3285 Re-add a else clause that went missing and caused repositories to be undeletable again. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@17926 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/services/repository/class_servRepository.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trunk/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc b/trunk/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc index 4fee0e65e..eae428b70 100644 --- a/trunk/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc +++ b/trunk/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc @@ -145,6 +145,10 @@ class servrepository extends goService unset($this->repositories[$value]); } } + } else { + if(isset($this->repositories[$value])) { + unset($this->repositories[$value]); + } } } -- 2.30.2