summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/ServerFactory.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-09-13 13:12:16 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-09-13 19:28:38 +0200
commitab63c89ab37611a306c12ba9020bda8ee8036460 (patch)
treea855eb24d3c47e0dabc6ed83bcad4fe6992202cb /apps/dav/lib/Connector/Sabre/ServerFactory.php
parentd659199ff5eb3aeae66155c9f151ffd81c697cd3 (diff)
downloadnextcloud-server-ab63c89ab37611a306c12ba9020bda8ee8036460.tar.gz
nextcloud-server-ab63c89ab37611a306c12ba9020bda8ee8036460.zip
Fix quota calculation on new dav upload endpoint
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/ServerFactory.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/ServerFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ServerFactory.php b/apps/dav/lib/Connector/Sabre/ServerFactory.php
index 329aa335ea4..c120b0be2e2 100644
--- a/apps/dav/lib/Connector/Sabre/ServerFactory.php
+++ b/apps/dav/lib/Connector/Sabre/ServerFactory.php
@@ -161,7 +161,7 @@ class ServerFactory {
!$this->config->getSystemValue('debug', false)
)
);
- $server->addPlugin(new \OCA\DAV\Connector\Sabre\QuotaPlugin($view));
+ $server->addPlugin(new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true));
if($this->userSession->isLoggedIn()) {
$server->addPlugin(new \OCA\DAV\Connector\Sabre\TagsPlugin($objectTree, $this->tagManager));