[TASK] Remove disableDocModuleInAB TSconfig option in ModuleMenuView 03/25703/3
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 26 Nov 2013 20:15:47 +0000 (21:15 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 27 Nov 2013 09:14:18 +0000 (10:14 +0100)
The option disableDocModuleInAB has already been removed in the
documentation since TYPO3 4.2 according to
http://wiki.typo3.org/Documentation_changes_in_4.2

Current documentation also lacks information about this option.

Change-Id: I0ae2ddd88956c8936ae24091f64d95f4195ebf12
Resolves: #53991
Releases: 6.2
Reviewed-on: https://review.typo3.org/25703
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/backend/Classes/View/ModuleMenuView.php
typo3/sysext/t3editor/res/jslib/parse_typoscript/tokenizetyposcript.js

index c56e392..18ebcb3 100644 (file)
@@ -199,10 +199,6 @@ class ModuleMenuView {
         */
        public function getRawModuleData() {
                $modules = array();
-               // Remove the 'doc' module?
-               if ($GLOBALS['BE_USER']->getTSConfigVal('options.disableDocModuleInAB')) {
-                       unset($this->loadedModules['doc']);
-               }
 
                // Unset modules that are meant to be hidden from the menu.
                $this->unsetHiddenModules();
index ce8d81b..ae9650b 100644 (file)
@@ -296,7 +296,6 @@ var typoscriptWords = {
        'disableCharsetHeader': 'reserved',
        'disabled': 'reserved',
        'disableDelete': 'reserved',
-       'disableDocModuleInAB': 'reserved',
        'disableDocSelector': 'reserved',
        'disableHideAtCopy': 'reserved',
        'disableIconLinkToContextmenu': 'reserved',
@@ -1625,7 +1624,6 @@ var typoscriptWords = {
        'disableCharsetHeader': 'reserved',
        'disabled': 'reserved',
        'disableDelete': 'reserved',
-       'disableDocModuleInAB': 'reserved',
        'disableDocSelector': 'reserved',
        'disableHideAtCopy': 'reserved',
        'disableIconLinkToContextmenu': 'reserved',