[CLEANUP] Remove scheduler option for extended description 61/33761/2
authorBenjamin Mack <benni@typo3.org>
Mon, 3 Nov 2014 20:01:05 +0000 (21:01 +0100)
committerBenjamin Mack <benni@typo3.org>
Mon, 3 Nov 2014 22:02:52 +0000 (23:02 +0100)
There is an always activated option
to show a description for tasks on hover.

This option is removed, the feature is
always turned on.

Releases: master
Resolves: #62663
Change-Id: I6f3b656fb9f4721dcd23982eda31f63309bb35ed
Reviewed-on: http://review.typo3.org/33761
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
typo3/sysext/scheduler/ext_conf_template.txt

index d799ce0..a3f4fee 100644 (file)
@@ -1125,11 +1125,7 @@ class SchedulerModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClas
                                                $table[$tr][] = $schedulerRecord['uid'];
                                                $table[$tr][] = $executionStatusOutput;
                                                if ($schedulerRecord['description'] !== '') {
-                                                       if (!empty($this->scheduler->extConf['listShowTaskDescriptionAsHover'])) {
-                                                               $table[$tr][] = '<span title="' . htmlspecialchars($schedulerRecord['description']) . '">' . $name . '</span>';
-                                                       } else {
-                                                               $table[$tr][] = $name . '<br />' . nl2br(htmlspecialchars($schedulerRecord['description'])) . '<br />';
-                                                       }
+                                                       $table[$tr][] = '<span title="' . htmlspecialchars($schedulerRecord['description']) . '">' . $name . '</span>';
                                                } else {
                                                        $table[$tr][] = $name;
                                                }
index 23375cd..1bfaf50 100644 (file)
@@ -9,6 +9,3 @@ showSampleTasks = 1
 
 # cat=basic//; type=boolean; label=LLL:EXT:scheduler/Resources/Private/Language/locallang_em.xlf:scheduler.config.useAtdaemon
 useAtdaemon = 0
-
-# cat=basic//; type=boolean; label=LLL:EXT:scheduler/Resources/Private/Language/locallang_em.xlf:scheduler.config.listShowTaskDescriptionAsHover
-listShowTaskDescriptionAsHover = 1