diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-08-21 15:55:59 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2013-08-21 15:55:59 +0200 |
commit | 224b80f906c1b7cd6338854e58f228eff4ea871c (patch) | |
tree | 975007c7e7938484c3c61faad21cbed17ca84440 /apps/files/index.php | |
parent | d9e8ebabdcd99bade4201d6be82e1841d30c5d65 (diff) | |
download | nextcloud-server-224b80f906c1b7cd6338854e58f228eff4ea871c.tar.gz nextcloud-server-224b80f906c1b7cd6338854e58f228eff4ea871c.zip |
move isMimeSupported out of template files
Diffstat (limited to 'apps/files/index.php')
-rw-r--r-- | apps/files/index.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index c05c2a9384d..3007f56e024 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -74,6 +74,7 @@ foreach ($content as $i) { } } $i['directory'] = $dir; + $i['isPreviewAvailable'] = \OCP\Preview::isMimeSupported($i['mimetype']); $files[] = $i; } |