summaryrefslogtreecommitdiffstats
path: root/lib/connector/sabre/quotaplugin.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-07 10:28:37 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-07 10:28:37 -0500
commit6801f82d090195573972e15d3cda96b0fde24460 (patch)
treec441d8ca8f284fd0b0f2d16c822f6256274eeffc /lib/connector/sabre/quotaplugin.php
parentd0a50fae8317e4b4871027ee4b2940ab5443961f (diff)
parentd0377b1951a156e218ca0200340e2bcfb51ac0c8 (diff)
downloadnextcloud-server-6801f82d090195573972e15d3cda96b0fde24460.tar.gz
nextcloud-server-6801f82d090195573972e15d3cda96b0fde24460.zip
Merge branch 'filesystem' into filesystem-etags
Conflicts: lib/files/cache/cache.php
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();
}
}