mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Merge pull request #5255 from jtkech/patch-3
#5234 Duplicate lines in WorkflowManager
This commit is contained in:
@@ -73,11 +73,6 @@ namespace Orchard.Workflows.Services {
|
||||
return;
|
||||
}
|
||||
|
||||
// if no activity record is matching the event, do nothing
|
||||
if (!startedWorkflows.Any() && !awaitingActivities.Any()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// resume halted workflows
|
||||
foreach (var awaitingActivityRecord in awaitingActivities) {
|
||||
var workflowContext = new WorkflowContext {
|
||||
@@ -292,4 +287,4 @@ namespace Orchard.Workflows.Services {
|
||||
return FormParametersHelper.FromJsonString("{}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user