#19893: Removing the limitation of unknown mime types for importing media

Work Item: 19893

--HG--
branch : 1.x
extra : rebase_source : 45662b8bb6150c7b7fb25cfd46cdacebd581930b
This commit is contained in:
Sebastien Ros
2013-07-14 10:34:53 -07:00
parent 5358a38c67
commit a248df98ee

View File

@@ -70,8 +70,7 @@ namespace Upgrade.Controllers {
foreach (var extension in extensions) {
if (_mimeTypeProvider.GetMimeType("." + extension) == "application/unknown") {
_orchardServices.Notifier.Warning(T("Unknown MIME type: {0}", extension));
ViewBag.CanMigrate = false;
_orchardServices.Notifier.Warning(T("Unknown MIME type for extension: {0}. These files will be imported as Document media.", extension));
}
}
}