[TASK] Missing quote in declaring the task example 81/59681/2
authorPhillip Schallmayer <noreply@example.com>
Mon, 11 Feb 2019 14:31:10 +0000 (15:31 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 16 Feb 2019 11:06:41 +0000 (12:06 +0100)
The current declaring a task example produces a PHP syntax error because
of a missing quote

Releases: master
Resolves: #87690
Change-Id: Idbff9169488d30d986787e82bf0774e4908f23f5
Reviewed-on: https://review.typo3.org/59681
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Jörg Bösche <typo3@joergboesche.de>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/scheduler/Documentation/DevelopersGuide/CreatingTasks/Index.rst

index 73be3af..d9f11e2 100644 (file)
@@ -275,7 +275,7 @@ task. Let's look at one of the base classes declaration as an example:
 
        // Add caching framework garbage collection task
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask::class] = array(
-               'extension' => 'your_extension_key,
+               'extension' => 'your_extension_key',
                'title' => 'LLL:EXT:your_extension_key/locallang.xlf:cachingFrameworkGarbageCollection.name',
                'description' => 'LLL:EXT:your_extension_key/locallang.xlf:cachingFrameworkGarbageCollection.description',
                'additionalFields' => \TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionAdditionalFieldProvider::class