#4376Check usage of setScheduler()
Description
The method tx_scheduler_Task::setScheduler() is used to instanciate a tx_scheduler object as a member variable of a task. However, depending on the context, a task does not always need to have a tx_scheduler object.
Calls to setScheduler() could be removed in some places (for example in mod1/index.php:listTasks()).