summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-08-01 11:12:06 +0200
committerGitHub <noreply@github.com>2016-08-01 11:12:06 +0200
commit62235e511dc8afd1b397c6acb4f213de4f96f8e2 (patch)
tree97d21d5d068a4b4f981ffd594839b454c02f6dc0 /apps/dav/lib
parent97e24aed58f91077e9a26f88a87c9c225777a924 (diff)
downloadnextcloud-server-62235e511dc8afd1b397c6acb4f213de4f96f8e2.tar.gz
nextcloud-server-62235e511dc8afd1b397c6acb4f213de4f96f8e2.zip
[stable9.1] Adding quota plugin to new dav endpoint (#25615) (#25648)
* Adding quota plugin to new dav endpoint * Added integrated test failing in old endpoint * Added 0B quota test
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/Server.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php
index a2493f4b5af..e36d3e280ce 100644
--- a/apps/dav/lib/Server.php
+++ b/apps/dav/lib/Server.php
@@ -161,6 +161,9 @@ class Server {
)
)
);
+ $this->server->addPlugin(
+ new \OCA\DAV\Connector\Sabre\QuotaPlugin($view));
+
}
});
}