summaryrefslogtreecommitdiffstats
path: root/lib/private/connector/sabre
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-08-20 23:23:42 +0200
committerLukas Reschke <lukas@owncloud.com>2014-08-20 23:23:42 +0200
commit92c80dd946d12e0f6094d40a3a3f4784ea2dfec4 (patch)
tree4609c9ae126e93a06b40cc9fa85fc4afcb8284b6 /lib/private/connector/sabre
parent74af852c34ad32f900c96717619ae2a8989c792b (diff)
parentab6ee6a600a5d373c28bad988f5a7ac9eca52b54 (diff)
downloadnextcloud-server-92c80dd946d12e0f6094d40a3a3f4784ea2dfec4.tar.gz
nextcloud-server-92c80dd946d12e0f6094d40a3a3f4784ea2dfec4.zip
Merge pull request #10518 from owncloud/fix_storage_const_autoload
Fix storage const autoload
Diffstat (limited to 'lib/private/connector/sabre')
-rw-r--r--lib/private/connector/sabre/quotaplugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/quotaplugin.php b/lib/private/connector/sabre/quotaplugin.php
index cf3c1103f84..ebcc894d744 100644
--- a/lib/private/connector/sabre/quotaplugin.php
+++ b/lib/private/connector/sabre/quotaplugin.php
@@ -72,7 +72,7 @@ class OC_Connector_Sabre_QuotaPlugin extends \Sabre\DAV\ServerPlugin {
$length -= $chunkHandler->getCurrentSize();
}
$freeSpace = $this->getFreeSpace($parentUri);
- if ($freeSpace !== \OC\Files\SPACE_UNKNOWN && $length > $freeSpace) {
+ if ($freeSpace !== \OCP\Files\FileInfo::SPACE_UNKNOWN && $length > $freeSpace) {
if (isset($chunkHandler)) {
$chunkHandler->cleanup();
}