|
|
|
@ -246,6 +246,14 @@ class RepairMimeTypes implements IRepairStep {
|
|
|
|
return $this->updateMimetypes($updatedMimetypes);
|
|
|
|
return $this->updateMimetypes($updatedMimetypes);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private function introduceAacAudioType() {
|
|
|
|
|
|
|
|
$updatedMimetypes = [
|
|
|
|
|
|
|
|
'aac' => 'audio/aac',
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return $this->updateMimetypes($updatedMimetypes);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Fix mime types
|
|
|
|
* Fix mime types
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@ -310,5 +318,9 @@ class RepairMimeTypes implements IRepairStep {
|
|
|
|
if (version_compare($ocVersionFromBeforeUpdate, '29.0.0.2', '<') && $this->introduceEmlAndMsgFormatType()) {
|
|
|
|
if (version_compare($ocVersionFromBeforeUpdate, '29.0.0.2', '<') && $this->introduceEmlAndMsgFormatType()) {
|
|
|
|
$out->info('Fixed eml and msg mime type');
|
|
|
|
$out->info('Fixed eml and msg mime type');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (version_compare($ocVersionFromBeforeUpdate, '29.0.0.6', '<') && $this->introduceAacAudioType()) {
|
|
|
|
|
|
|
|
$out->info('Fixed aac mime type');
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|