[BUGFIX] Enable XClassing of t3lib_install by replacing new
[Packages/TYPO3.CMS.git] / typo3 / sysext / em / classes / install / class.tx_em_install.php
index fc202b6..659fe75 100644 (file)
@@ -1476,7 +1476,7 @@ class tx_em_Install {
        function writeTsStyleConfig($extKey, $arr) {
 
                // Instance of install tool
-               $instObj = new t3lib_install;
+               $instObj = t3lib_div::makeInstance('t3lib_install');
                $instObj->allowUpdateLocalConf = 1;
                $instObj->updateIdentity = 'TYPO3 Extension Manager';
 
@@ -1580,7 +1580,7 @@ class tx_em_Install {
                $strippedExtensionList = $this->stripNonFrontendExtensions($newExtList);
 
                // Instance of install tool
-               $instObj = new t3lib_install;
+               $instObj = t3lib_div::makeInstance('t3lib_install');
                $instObj->allowUpdateLocalConf = 1;
                $instObj->updateIdentity = 'TYPO3 Extension Manager';