Fixed bug in tx_em_Connection_ExtDirectServer (from em svn)
authorSteffen Kamper <info@sk-typo3.de>
Wed, 19 Jan 2011 22:13:13 +0000 (22:13 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Wed, 19 Jan 2011 22:13:13 +0000 (22:13 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10144 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php

index 768267e..2806c63 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-19  Steffen Kamper  <steffen@typo3.org>
+
+       * Fixed bug in tx_em_Connection_ExtDirectServer (from em svn)
+
 2011-01-19  Christian Kuhn  <lolli@schwarzbu.ch>
 
        * Follow-up to #16462: Use constant LF instead of chr(10) (Thanks to Georg Ringer)
@@ -50,7 +54,7 @@
 
 2011-01-18  Ernesto Baschny  <ernst@cron-it.de>
 
-       * Fixed issue #17014: Update copyright year in constant TYPO3_copyright_year to 2011 
+       * Fixed issue #17014: Update copyright year in constant TYPO3_copyright_year to 2011
        * Fixed bug #17049: Flexform labels point to wrong checkbox (Thanks to Steffen Gebert)
        * Added feature #13938: Backend session is locked to useragent (Thanks to Bjoern Pedersen, Markus Klein, Helmut Hummel)
        * Follow-up to #15611: Mention the change of behaviour on copy/translate (hidden by default) in NEWS.txt
index 9cc630e..7ab957a 100644 (file)
@@ -75,8 +75,6 @@ class tx_em_Connection_ExtDirectServer {
         * @return void
         */
        public function __construct($createTemplateInstance = TRUE) {
-                       // Create an instance of template class only if necessary
-                       // It is necessary only if extension configuration is to be displayed
                if ($createTemplateInstance) {
                        $this->template = t3lib_div::makeInstance('template');
                }
@@ -1130,7 +1128,7 @@ class tx_em_Connection_ExtDirectServer {
 
                $install->writeNewExtensionList($newExtensionList);
                tx_em_Tools::refreshGlobalExtList();
-               $install->forceDBupdates($extensionKey, $newExtensionList[$extensionKey]);
+               $install->forceDBupdates($extensionKey, $installedList[$extensionKey]);
        }
 
        /**