From ab63c89ab37611a306c12ba9020bda8ee8036460 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 13 Sep 2017 13:12:16 +0200 Subject: Fix quota calculation on new dav upload endpoint Signed-off-by: Roeland Jago Douma --- apps/dav/lib/Connector/Sabre/ServerFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav/lib/Connector/Sabre/ServerFactory.php') 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)); -- cgit v1.2.3