summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f718b5)
raw | patch | inline | side by side (parent: 3f718b5)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Oct 2009 18:24:05 +0000 (18:24 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 27 Oct 2009 18:24:05 +0000 (18:24 +0000) |
If a repository service of a server has multiple releases
with the same URL and one tries to delete it, it fails,
because the deletion code path is never reached. This is caused
by a wrong indenting, which is fixed with this commit.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14664 594d385d-05f5-0310-b6e9-bd551577e9d8
with the same URL and one tries to delete it, it fails,
because the deletion code path is never reached. This is caused
by a wrong indenting, which is fixed with this commit.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@14664 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc | patch | blob | history |
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 3971481d2d538a13449d5905ab683d8a6144746f..4fee0e65ed54c90a21df4a80201884141852e636 100644 (file)
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])){
+ unset($this->repositories[$value]);
+ }
}
}
}