Merge pull request #5176 from jtkech/patch-2

#5148: Default recipe error on setup
This commit is contained in:
Sébastien Ros
2015-04-18 08:44:38 -07:00

View File

@@ -57,7 +57,7 @@ namespace Orchard.Recipes.Services {
_appDataFolder.DeleteFile(stepPath);
}
if (stepIndex < 1) {
if (stepIndex < 0) {
_appDataFolder.DeleteFile(Path.Combine(_recipeQueueFolder, executionId));
}
@@ -86,4 +86,4 @@ namespace Orchard.Recipes.Services {
return lastIndex;
}
}
}
}