Cascade remove of a cloud to the DispatchingCloudContentRepository
Fixes #432
This commit is contained in:
parent
55d7f68f49
commit
85c06582bb
@ -80,6 +80,7 @@ class CloudRepositoryImpl implements CloudRepository {
|
|||||||
throw new IllegalArgumentException("Can not delete non persistent cloud");
|
throw new IllegalArgumentException("Can not delete non persistent cloud");
|
||||||
}
|
}
|
||||||
database.delete(mapper.toEntity(cloud));
|
database.delete(mapper.toEntity(cloud));
|
||||||
|
dispatchingCloudContentRepository.removeCloudContentRepositoryFor(cloud);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user