diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-25 16:14:46 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-07-25 16:14:46 +0200 |
commit | 88cc2ccb3b8ab4bb8a475e82756d8dc13db69b32 (patch) | |
tree | 5429628332888bbac80763c3a44ba921306d78a5 /lib/connector/sabre | |
parent | e2f04b3b429b42975f4457b77ca720396506e512 (diff) | |
download | nextcloud-server-88cc2ccb3b8ab4bb8a475e82756d8dc13db69b32.tar.gz nextcloud-server-88cc2ccb3b8ab4bb8a475e82756d8dc13db69b32.zip |
use renamed constants
Diffstat (limited to 'lib/connector/sabre')
-rw-r--r-- | lib/connector/sabre/quotaplugin.php | 2 |
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(); } } |