removed legacy code from backend.php
authorIngo Renner <ingo.renner@typo3.org>
Mon, 11 Feb 2008 10:30:18 +0000 (10:30 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Mon, 11 Feb 2008 10:30:18 +0000 (10:30 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3144 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/backend.php

index 25eb707..b6007ea 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-11  Ingo Renner  <ingo@typo3.org>
+
+       * removed legacy code from backend.php
+
 2008-02-11  Oliver Hader  <oh@inpublica.de>
 
        * (minor) Fixed bug: Fixed global variables in typo3/backend.php
index 5195883..dd378fb 100644 (file)
@@ -58,6 +58,7 @@ class TYPO3backend {
        private $cssFiles;
        private $js;
        private $jsFiles;
+       private $toolbarItems;
 
        /**
         * Object for loading backend modules
@@ -73,11 +74,6 @@ class TYPO3backend {
         */
        private $moduleMenu;
 
-       private $leftMenuWidth;
-       private $topHeight;
-       private $selectMenu;
-       private $toolbarItems;
-
        /**
         * constructor
         *
@@ -90,20 +86,6 @@ class TYPO3backend {
 
                $this->moduleMenu = t3lib_div::makeInstance('ModuleMenu');
 
-                       // Check for distances defined in the styles array:
-               if (isset($GLOBALS['TBE_STYLES']['dims'])) {
-                       $dimensions =& $GLOBALS['TBE_STYLES']['dims'];
-                       if (isset($dimensions['leftMenuFrameW']) && $dimensions['leftMenuFrameW']) {
-                               $this->leftMenuWidth = $dimensions['leftMenuFrameW'];
-                       }
-                       if (isset($dimensions['topFrameH']) && $dimensions['topFrameH']) {
-                               $this->topHeight = $dimensions['topFrameH'];
-                       }
-                       if (isset($dimensions['selMenuFrame']) && $dimensions['selMenuFrame']) {
-                               $this->selectMenu = $dimensions['selMenuFrame'];
-                       }
-               }
-
                        // add default BE javascript
                $this->js      = '';
                $this->jsFiles = array(