[BUGFIX] Make SingleTasks toggleable from scheduler list view 73/46773/7
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:08:36 +0000 (10:08 +0100)
commitb6bd9b60a04ee5d53e69733a28405dfec49da702
treebbf4dc1ce6a0f802c08fe84083136191b5db68dd
parent62c07455b72f56198e9a74a0ab8fc34b0d0b12ab
[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/46773
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
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