summaryrefslogtreecommitdiffstats
path: root/lib/connector/sabre
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-08-19 17:30:56 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-08-19 17:30:56 +0200
commitcbeccb2fcd3d3d445726c9e0cd5b8e6c8285a1ea (patch)
treea262c1ad4511a04922519a868a7733a7b1794f3a /lib/connector/sabre
parentc5402f457530577999d1adc1715c76e742ad8aa9 (diff)
parent95e1b62940444eb2a7467d994a7b4366f6e7f2fc (diff)
downloadnextcloud-server-cbeccb2fcd3d3d445726c9e0cd5b8e6c8285a1ea.tar.gz
nextcloud-server-cbeccb2fcd3d3d445726c9e0cd5b8e6c8285a1ea.zip
Merge branch 'master' into readdir-strict-equals
Diffstat (limited to 'lib/connector/sabre')
-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 c80a33d04b1..34d4b676157 100644
--- a/lib/connector/sabre/quotaplugin.php
+++ b/lib/connector/sabre/quotaplugin.php
@@ -51,7 +51,7 @@ class OC_Connector_Sabre_QuotaPlugin extends Sabre_DAV_ServerPlugin {
}
list($parentUri, $newName) = Sabre_DAV_URLUtil::splitPath($uri);
$freeSpace = \OC\Files\Filesystem::free_space($parentUri);
- if ($freeSpace !== \OC\Files\FREE_SPACE_UNKNOWN && $length > $freeSpace) {
+ if ($freeSpace !== \OC\Files\SPACE_UNKNOWN && $length > $freeSpace) {
throw new Sabre_DAV_Exception_InsufficientStorage();
}
}