[TASK] Clean up left-over JavaScript variable 96/38296/2
authorBenjamin Mack <benni@typo3.org>
Fri, 27 Mar 2015 10:55:43 +0000 (11:55 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 27 Mar 2015 14:55:54 +0000 (15:55 +0100)
The JavaScript option "TBE_EDITOR.backend_interface"
is unused since some versions and a leftover code snippet
that only defines the option but it's never used.

Resolves: #66090
Releases: master
Change-Id: I0a0614ce771ca9715abaa99d8e26e59e2cf7a290
Reviewed-on: http://review.typo3.org/38296
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/core/Classes/Database/QueryGenerator.php

index fce4eb8..c098009 100644 (file)
@@ -2008,7 +2008,6 @@ class FormEngine {
                        TBE_EDITOR.labels.onChangeAlert = ' . GeneralUtility::quoteJSvalue($languageService->sL('LLL:EXT:lang/locallang_core.xlf:mess.onChangeAlert')) . ';
                        TBE_EDITOR.labels.remainingCharacters = ' . GeneralUtility::quoteJSvalue($languageService->sL('LLL:EXT:lang/locallang_core.xlf:labels.remainingCharacters')) . ';
                        evalFunc.USmode = ' . ($GLOBALS['TYPO3_CONF_VARS']['SYS']['USdateFormat'] ? '1' : '0') . ';
-                       TBE_EDITOR.backend_interface = "' . $beUserAuth->uc['interfaceSetup'] . '";
 
                        TBE_EDITOR.customEvalFunctions = {};
 
index 2d41017..89ac45a 100644 (file)
@@ -1490,7 +1490,6 @@ class QueryGenerator {
                        <script language="javascript" type="text/javascript">
                                TBE_EDITOR.formname = "' . $formname . '";
                                TBE_EDITOR.formnameUENC = "' . rawurlencode($formname) . '";
-                               TBE_EDITOR.backend_interface = "' . $GLOBALS['BE_USER']->uc['interfaceSetup'] . '";
                                ' . $this->extJSCODE . '
                        </script>';
                }