Commit 1a742329 authored by Wouter Wolters's avatar Wouter Wolters Committed by Christian Kuhn
Browse files

[!!!][TASK] Remove backend user option debugInWindow

The option is unused in the core and no usages are found in TER.

Resolves: #78522
Releases: master
Change-Id: Id3cb7fe790b9cf84d2e85595d784edb482f9a32d
Reviewed-on: https://review.typo3.org/50464


Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 82c6be75
......@@ -582,7 +582,6 @@ class BackendController
'pageModule' => $pageModule,
'inWorkspace' => $beUser->workspace !== 0,
'showRefreshLoginPopup' => isset($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) ? (int)$GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup'] : false,
'debugInWindow' => $beUser->uc['debugInWindow'] ? 1 : 0,
'ContextHelpWindows' => [
'width' => 600,
'height' => 400
......
.. include:: ../../Includes.txt
============================================================
Breaking: #78522 - Removed backend user option debugInWindow
============================================================
See :issue:`78522`
Description
===========
The backend user option `debugInWindow` is unused in the core and has been removed,
as the option of opening the debug information in a window was migrated already.
Impact
======
The setting is not available anymore in JavaScript under :js:`TYPO3.configuration`.
Affected Installations
======================
Any installation that uses the removed backend user option `debugInWindow`.
.. index:: Backend, JavaScript
......@@ -369,9 +369,6 @@
<trans-unit id="oldPassword_failed">
<source>Password was NOT updated because you didn't enter the correct current password.</source>
</trans-unit>
<trans-unit id="adminFunctions">
<source>Admin functions</source>
</trans-unit>
<trans-unit id="enableInstallTool.label">
<source>Install Tool Access</source>
</trans-unit>
......@@ -402,9 +399,6 @@
<trans-unit id="settingsAreReset">
<source>The user settings have been reset to default values and temporary data has been cleared.</source>
</trans-unit>
<trans-unit id="debugInWindow">
<source>Display debug messages in a new browser window</source>
</trans-unit>
<trans-unit id="startModule.firstInMenu">
<source>- First module in menu -</source>
</trans-unit>
......
......@@ -131,16 +131,10 @@ if (TYPO3_MODE === 'BE') {
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:flexibleTextareas_MaxHeight',
'csh' => 'flexibleTextareas_MaxHeight'
],
'debugInWindow' => [
'type' => 'check',
'label' => 'LLL:EXT:setup/Resources/Private/Language/locallang.xlf:debugInWindow',
'access' => 'admin'
]
],
'showitem' => '--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:personal_data,realName,email,emailMeAtLogin,avatar,lang,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xml:passwordHeader,passwordCurrent,password,password2,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:opening,startModule,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:editFunctionsTab,edit_RTE,resizeTextareas_Flexible,resizeTextareas_MaxHeight,titleLen,thumbnailsByDefault,edit_docModuleUpload,showHiddenFilesAndFolders,copyLevels,recursiveDelete,resetConfiguration,
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:adminFunctions,debugInWindow'
--div--;LLL:EXT:setup/Resources/Private/Language/locallang.xlf:editFunctionsTab,edit_RTE,resizeTextareas_Flexible,resizeTextareas_MaxHeight,titleLen,thumbnailsByDefault,edit_docModuleUpload,showHiddenFilesAndFolders,copyLevels,recursiveDelete,resetConfiguration'
];
}
......@@ -226,7 +226,6 @@ class PreviewController extends AbstractController
'pageModule' => $pageModule,
'inWorkspace' => $backendUser->workspace !== 0,
'showRefreshLoginPopup' => isset($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) ? (int)$GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup'] : false,
'debugInWindow' => $backendUser->uc['debugInWindow'] ? 1 : 0,
'ContextHelpWindows' => [
'width' => 600,
'height' => 400
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment