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 /apps/files_external/lib/sftp.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 'apps/files_external/lib/sftp.php')
-rw-r--r-- | apps/files_external/lib/sftp.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php index 551a5a64ef2..77c08d3b733 100644 --- a/apps/files_external/lib/sftp.php +++ b/apps/files_external/lib/sftp.php @@ -241,10 +241,6 @@ class SFTP extends \OC\Files\Storage\Common { } } - public function free_space($path) { - return -1; - } - public function touch($path, $mtime=null) { try { if (!is_null($mtime)) return false; |