]> source.dussan.org Git - nextcloud-server.git/commit
Only return 1 type 7745/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Sun, 7 Jan 2018 10:46:24 +0000 (11:46 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 8 Jan 2018 19:39:48 +0000 (20:39 +0100)
commit87e99651f5d7b0f86bcae2a7366f6ae4f0600a87
treec720b16cfb94ce70a1b0b860d4df06f83bcf6fb5
parent50b880edeba3166cd7718c1fb3447f618194337b
Only return 1 type

Throw proper exception if we can't get the mimetype for a preview. Catch
it later on so we can just return a not found for the preview.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Preview/Generator.php
lib/private/legacy/image.php