Bug #17861 » 6854.diff
typo3/mod/tools/em/class.em_index.php (working copy) | ||
---|---|---|
// check if extension can be fetched
|
||
if(isset($this->xmlhandler->extensionsXML[$extKey])) {
|
||
$versions = array_keys($this->xmlhandler->extensionsXML[$extKey]['versions']);
|
||
natsort($versions);
|
||
$latestVersion = end($versions);
|
||
switch($mode) {
|
||
case EM_INSTALL_VERSION_STRICT:
|
||
... | ... | |
// Fetch extension from TER:
|
||
if(!strlen($version)) {
|
||
$versions = array_keys($this->xmlhandler->extensionsXML[$extKey]['versions']);
|
||
natsort($versions);
|
||
$version = end($versions);
|
||
}
|
||
$fetchData = $this->terConnection->fetchExtension($extKey, $version, $this->xmlhandler->extensionsXML[$extKey]['versions'][$version]['t3xfilemd5'], $this->getMirrorURL());
|
- « Previous
- 1
- 2
- Next »