summaryrefslogtreecommitdiffstats
path: root/lib/connector/sabre/quotaplugin.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-07 00:16:10 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-07 00:16:10 +0100
commite8d08d4930fae31a665c679b5ac1a147859eb099 (patch)
tree426671882f753d0fea8f80c786bdd6892d57cdb5 /lib/connector/sabre/quotaplugin.php
parent1137723b2a46c37d61e7f501694c73562b21ef74 (diff)
parent0b007235b99fa8d66cdb8ca917fe2f45dd8e4edc (diff)
downloadnextcloud-server-e8d08d4930fae31a665c679b5ac1a147859eb099.tar.gz
nextcloud-server-e8d08d4930fae31a665c679b5ac1a147859eb099.zip
merge master into filesystem
Diffstat (limited to 'lib/connector/sabre/quotaplugin.php')
-rw-r--r--lib/connector/sabre/quotaplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connector/sabre/quotaplugin.php b/lib/connector/sabre/quotaplugin.php
index fbbb4a3cf6f..ce9a968eb3c 100644
--- a/lib/connector/sabre/quotaplugin.php
+++ b/lib/connector/sabre/quotaplugin.php
@@ -50,7 +50,7 @@ class OC_Connector_Sabre_QuotaPlugin extends Sabre_DAV_ServerPlugin {
$uri='/'.$uri;
}
list($parentUri, $newName) = Sabre_DAV_URLUtil::splitPath($uri);
- if ($length > OC_Filesystem::free_space($parentUri)) {
+ if ($length > \OC\Files\Filesystem::free_space($parentUri)) {
throw new Sabre_DAV_Exception_InsufficientStorage();
}
}