Affects Version/s: 2.4.0
Fix Version/s: None
The deleteWorkflowMetadata() method implemented in WorkflowHandler.php is using two unnecessary methods:
I noticed in the ezeditorialworkflow_transitions and ezeditorialworkflow_markings table definition following constraints:
which has a referential action for a foreign key that allows us to delete data from child/related tables automatically when we delete the data from the parent table ezeditorialworkflow_workflows.
We can remove some methods in the Handler and the Gateway as well and just keep the method