Skip to content

Commit aa84df1

Browse files
committed
These 2 lines were a leftover of an earlier experiment, removed. #11987
1 parent 92141d4 commit aa84df1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/edu/harvard/iq/dataverse/engine/command/impl/DeleteDatasetQuotaCommand.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public void executeImpl(CommandContext ctxt) throws CommandException {
4848
if (storageQuota != null && storageQuota.getAllocation() != null) {
4949
// The method below, in dataverseServiceBean, can be used to delete
5050
// quotas defined on either of the DvObjectContainer classes:
51-
targetDataset.setStorageQuota(null);
52-
storageQuota.setDefinitionPoint(null);
5351
ctxt.dataverses().disableStorageQuota(storageQuota);
5452
}
5553
// ... and if no quota was enabled on the dataset - nothing to do = success

0 commit comments

Comments
 (0)