Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1953


Ignore:
Timestamp:
05/29/09 14:17:06 (15 years ago)
Author:
svonolfe
Message:

Updated client group deletion logic (subgroups are deleted recursively now) (#372)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/ClientGroupAdapter.cs

    r1759 r1953  
    157157    protected override bool doDelete(ClientGroup group) {
    158158      if (group != null) {
     159        //recursively delete all subgroups
     160        foreach (Resource res in group.Resources) {
     161          if (res is ClientGroup) {
     162            Delete(res as ClientGroup);
     163          }
     164        }
     165
    159166        //delete all relationships
    160167        ManyToManyRelationHelper.UpdateRelationships(group.Id,
Note: See TracChangeset for help on using the changeset viewer.