mirror of https://github.com/nextcloud/server
fix: change mime type for msg file
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
6e3781b486
commit
9f76600c88
|
@ -240,7 +240,7 @@ class RepairMimeTypes implements IRepairStep {
|
|||
private function introduceEmlAndMsgFormatType() {
|
||||
$updatedMimetypes = [
|
||||
'eml' => 'message/rfc822',
|
||||
'msg' => 'application/x-ole-storage',
|
||||
'msg' => 'application/vnd.ms-outlook',
|
||||
];
|
||||
|
||||
return $this->updateMimetypes($updatedMimetypes);
|
||||
|
@ -307,7 +307,7 @@ class RepairMimeTypes implements IRepairStep {
|
|||
$out->info('Fixed Enhanced Metafile Format mime types');
|
||||
}
|
||||
|
||||
if (version_compare($ocVersionFromBeforeUpdate, '29.0.0.1', '<') && $this->introduceEmlAndMsgFormatType()) {
|
||||
if (version_compare($ocVersionFromBeforeUpdate, '29.0.0.2', '<') && $this->introduceEmlAndMsgFormatType()) {
|
||||
$out->info('Fixed eml and msg mime type');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
"mpeg": ["video/mpeg"],
|
||||
"mpg": ["video/mpeg"],
|
||||
"mpo": ["image/jpeg"],
|
||||
"msg": ["application/x-ole-storage", "text/plain"],
|
||||
"msg": ["application/vnd.ms-outlook"],
|
||||
"msi": ["application/x-msi"],
|
||||
"mt2s": ["video/MP2T"],
|
||||
"mts": ["video/MP2T"],
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
// between betas, final and RCs. This is _not_ the public version number. Reset minor/patch level
|
||||
// when updating major/minor version number.
|
||||
|
||||
$OC_Version = [29, 0, 0, 1];
|
||||
$OC_Version = [29, 0, 0, 2];
|
||||
|
||||
// The human-readable string
|
||||
$OC_VersionString = '29.0.0 dev';
|
||||
|
|
Loading…
Reference in New Issue