-
Robert Lyon authored
Rather than fetching by array now that we have multiple extensions using the 'video/mp4' mimetype. This would cause problems for older sites where the file was correctly saved as 'video' artefacttype but where the fetching from db of the mimetypes to compare would associate a different extension to 'video/mp4', eg 'm4v'. This also meant that videos uploaded after commit a5cf7d59 could end up being saved as atefacttype 'file' rather than 'video' This patch fetches mimetypes as array and tidies things up for video behatnotneeded Change-Id: I53dc2d5ddb573d630f1de408cc9c027e488cd99e Signed-off-by: Robert Lyon <robertl@catalyst.net.nz> (cherry picked from commit e978112e)
3f4bba46