Removing code which was added for mistake
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146911 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
727d39b388
commit
b360dbd9ae
|
@ -329,13 +329,7 @@ public class ERManager {
|
|||
Resource.NAME, uuid, ContextUtility.getCurrentContext());
|
||||
ResourceManagement resourceManagement = new ResourceManagement();
|
||||
resourceManagement.setUUID(UUID.fromString(uuid));
|
||||
boolean added = resourceManagement.addToContext();
|
||||
|
||||
resourceManagement = new ResourceManagement();
|
||||
resourceManagement.setUUID(UUID.fromString(uuid));
|
||||
resourceManagement.read();
|
||||
|
||||
return added;
|
||||
return resourceManagement.addToContext();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue