Project

General

Profile

Bug #23829 ยป 16645.patch

Administrator Admin, 2010-12-02 13:21

View differences:

typo3/sysext/em/classes/install/class.tx_em_install.php (revision )
$xmlhandler =& $this->parentObject->xmlhandler;
$extensionList =& $this->parentObject->extensionList;
$extensionDetails =& $this->parentObject->extensionDetails;
$content = '';
if (tx_em_Tools::importAsType($loc)) {
if (is_array($fetchData)) { // There was some data successfully transferred
......
list($instExtInfo,) = $extensionList->getInstalledExtensions();
$depStatus = $this->checkDependencies($extKey, $EM_CONF, $instExtInfo);
if (t3lib_extMgm::isLoaded($extKey) && !$depStatus['returnCode']) {
$this->content .= $depStatus['html'];
$content .= $depStatus['html'];
if ($uploadedTempFile) {
$this->content .= '<input type="hidden" name="CMD[alreadyUploaded]" value="' . $uploadedTempFile . '" />';
$content .= '<input type="hidden" name="CMD[alreadyUploaded]" value="' . $uploadedTempFile . '" />';
}
} else {
$res = $this->clearAndMakeExtensionDir($fetchData[0], $loc, $dontDelete);
......
}
}
}
if (($depError || $depIgnore) && $this->parentObject instanceof SC_mod_tools_em_index) {
$content .= $this->parentObject->doc->section(
$GLOBALS['LANG']->getLL('removeExtFromList_dependency_error'),
    (1-1/1)