diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-02-16 03:27:50 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-02-16 03:27:50 +0100 |
commit | d96146a017bd8f7e4573e4555cea2c198fa9fbad (patch) | |
tree | eae31f519b93924a484d2e3f0e4843c95e95cb5d /lib/files/filesystem.php | |
parent | 425d41aaf93e1cd3a44ddc794414683e8e2c4648 (diff) | |
download | nextcloud-server-d96146a017bd8f7e4573e4555cea2c198fa9fbad.tar.gz nextcloud-server-d96146a017bd8f7e4573e4555cea2c198fa9fbad.zip |
Give storage backends the option to define having no known free space
When this is the case only the configured max upload size is taking into account for uploading
Diffstat (limited to 'lib/files/filesystem.php')
-rw-r--r-- | lib/files/filesystem.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php index f4530868077..0dafef836bd 100644 --- a/lib/files/filesystem.php +++ b/lib/files/filesystem.php @@ -29,6 +29,8 @@ namespace OC\Files; +const FREE_SPACE_UNKNOWN = -2; + class Filesystem { public static $loaded = false; /** |