[BUGFIX] Remove superfluous code from Extension Manager
authorSteffen Kamper <info@sk-typo3.de>
Wed, 9 Mar 2011 23:37:56 +0000 (00:37 +0100)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 22 Mar 2011 19:20:41 +0000 (20:20 +0100)
Remove code, which is not needed anymore and duplicates code.

Change-Id: I59491c8d194574e1ef80a461194fa054f32717ab
Resolves: #M17911
Reviewed-on: http://review.typo3.org/1112
Reviewed-by: Steffen Kamper <info@sk-typo3.de>
Tested-by: Steffen Kamper <info@sk-typo3.de>
typo3/sysext/em/classes/class.tx_em_extensionmanager.php

index 4543e74..c7a2120 100644 (file)
@@ -124,18 +124,6 @@ class tx_em_ExtensionManager {
                $this->pageRenderer->loadExtJS();
                $this->pageRenderer->enableExtJSQuickTips();
 
-                       // Load  JavaScript:
-               $this->pageRenderer->addJsFile($this->parentObject->doc->backPath .
-                       'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.EM',
-                       NULL,
-                       FALSE
-               );
-               $this->pageRenderer->addJsFile($this->parentObject->doc->backPath .
-                       'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.EMSOAP',
-                       NULL,
-                       FALSE
-               );
-
                $this->pageRenderer->addExtDirectCode();
 
 
@@ -188,7 +176,6 @@ class tx_em_ExtensionManager {
                        'codemirrorJsPath' => $this->parentObject->doc->backPath . 'contrib/codemirror/js/',
                        'codemirrorContribPath' => $this->parentObject->doc->backPath . 'contrib/codemirror/contrib/',
                        'selectedLanguages' => t3lib_div::trimExplode(',', $globalSettings['selectedLanguages'], TRUE),
-                       'state' => $GLOBALS['BE_USER']->uc['moduleData']['tools_em']['States'],
                        'inlineToWindow' => $globalSettings['inlineToWindow'],
                        'allowRepositoryUpdate' => $allowRepositoryUpdate,
                        'displayMyExtensions' => $globalSettings['displayMyExtensions'],