Skip to content

Commit

Permalink
LPS-82648 Use correct delete method
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Queiroz authored and brianchandotcom committed Jun 20, 2018
1 parent 860e2f4 commit 1f26931
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -190,7 +190,7 @@ public void deleteFormInstance(DDMFormInstance ddmFormInstance)
long structureId = ddmFormInstance.getStructureId();

if (ddmStructureLocalService.fetchDDMStructure(structureId) != null) {
ddmStructureLocalService.deleteDDMStructure(structureId);
ddmStructureLocalService.deleteStructure(structureId);
}

resourceLocalService.deleteResource(
Expand Down

0 comments on commit 1f26931

Please sign in to comment.