Remove unused function argument

settings are not used when creating a task

Reference #2298