[BUGFIX] Make SingleTasks toggleable from scheduler list view 90/47190/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 19 Feb 2016 11:18:33 +0000 (12:18 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 11 Mar 2016 09:10:01 +0000 (10:10 +0100)
commitb46c85a427e9cc508610ab6501daa6d745a5aa49
tree99cd92e43b2f9be04014cabb5d660eb9de06729e
parent0ac02637b00b256f3165f09075091b3516219603
[BUGFIX] Make SingleTasks toggleable from scheduler list view

The toggle button for tasks does not work for single tasks. This patch
enables the functionality and registers a single task for execution on
next scheduler run when enabled.

Additionally class constants are introduced for the two available types.

Change-Id: I91c7b24bf141ef6735b3fd38e2859d63634d507e
Resolves: #64708
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47190
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
typo3/sysext/scheduler/Classes/Task/AbstractTask.php