Atmire dspace 3.0 workflow contribution

This commit is contained in:
KevinVdV
2012-08-28 15:53:05 +02:00
parent 39f38215d2
commit c4a9473201
2 changed files with 1 additions and 7 deletions

View File

@@ -215,12 +215,6 @@ public class WorkflowUtils extends Util{
if(role.getScope() == Role.Scope.COLLECTION){
CollectionRole ass = CollectionRole.find(context, collection.getID(), roleID);
ass.delete();
}else
if(role.getScope() == Role.Scope.REPOSITORY){
Group groupToDelete = Group.findByName(context, roleID);
if(groupToDelete != null){
groupToDelete.delete();
}
}
}