Updated fixCorruptedTasks method declaration

Removed 1 method argument as it was not used.