summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v1/publicwebdav.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-07-26 13:15:12 +0200
committerRobin Appelman <robin@icewind.nl>2016-07-27 12:59:39 +0200
commit1fef5d3d06752f1a2a686681ae81fd13d88e535a (patch)
tree53ded6d6b8f6354f293160f7f1c114c89af10be1 /apps/dav/appinfo/v1/publicwebdav.php
parent318d68a9a95cc710aa30c24a84d78da280327aef (diff)
downloadnextcloud-server-1fef5d3d06752f1a2a686681ae81fd13d88e535a.tar.gz
nextcloud-server-1fef5d3d06752f1a2a686681ae81fd13d88e535a.zip
add dav property to check if a file has a preview available
Diffstat (limited to 'apps/dav/appinfo/v1/publicwebdav.php')
-rw-r--r--apps/dav/appinfo/v1/publicwebdav.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/publicwebdav.php b/apps/dav/appinfo/v1/publicwebdav.php
index 286629b20f9..b88c5847ab5 100644
--- a/apps/dav/appinfo/v1/publicwebdav.php
+++ b/apps/dav/appinfo/v1/publicwebdav.php
@@ -50,7 +50,8 @@ $serverFactory = new OCA\DAV\Connector\Sabre\ServerFactory(
\OC::$server->getUserSession(),
\OC::$server->getMountManager(),
\OC::$server->getTagManager(),
- \OC::$server->getRequest()
+ \OC::$server->getRequest(),
+ \OC::$server->getPreviewManager()
);
$requestUri = \OC::$server->getRequest()->getRequestUri();