Project

General

Profile

Bug #24096 ยป 16436.patch

Administrator Admin, 2010-11-17 11:55

View differences:

typo3/sysext/em/classes/extensions/class.tx_em_extensions_details.php (revision )
*/
function uploadExtensionToTER($em) {
$msg = '';
$response = $this->terConnection->uploadToTER($em);
$response = $this->parentObject->terConnection->uploadToTER($em);
if (!is_array($response)) {
return $response;
typo3/sysext/em/classes/index.php (revision )
if ($em['action'] == 'doUpload') {
$em['extKey'] = $extKey;
$em['extInfo'] = $list[$extKey];
$content = $this->uploadExtensionToTER($em);
$content = $this->extensionDetails->uploadExtensionToTER($em);
$content .= $this->doc->spacer(10);
// Must reload this, because EM_CONF information has been updated!
list($list,) = $this->extensionList->getInstalledExtensions();
......
return $content;
}
// Function wrappers for compatibility
/**
* Reports back if installation in a certain scope is possible.
*
* @param string Scope: G, L, S
* @param string Extension lock-type (eg. "L" or "G")
* @return boolean True if installation is allowed.
*/
public static function importAsType($type, $lockType = '') {
return tx_em_Tools::importAsType($type, $lockType);
}
}
}
// Make instance:
$SOBE = t3lib_div::makeInstance('SC_mod_tools_em_index');
$SOBE->init();
typo3/sysext/em/classes/import/class.tx_em_import_extensionlistimporter.php (revision )
self::$fieldIndicesNoQuote
);
}
tx_em_Database::insertLastVersion($this->repositoryUID);
$extensions = tx_em_Database::insertLastVersion($this->repositoryUID);
tx_em_Database::updateRepositoryCount($extensions, $this->repositoryUID);
return $this->sumRecords;
}
typo3/sysext/em/classes/connection/class.tx_em_connection_ter.php (revision )
* @return
*/
function uploadToTER($em) {
$uArr = $this->emObj->makeUploadarray($em['extKey'], $em['extInfo']);
$uArr = $this->emObj->extensionDetails->makeUploadarray($em['extKey'], $em['extInfo']);
if (!is_array($uArr)) {
return $uArr;
}
    (1-1/1)