summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-07-25 16:14:46 +0200
committerRobin Appelman <icewind@owncloud.com>2013-07-25 16:14:46 +0200
commit88cc2ccb3b8ab4bb8a475e82756d8dc13db69b32 (patch)
tree5429628332888bbac80763c3a44ba921306d78a5 /apps
parente2f04b3b429b42975f4457b77ca720396506e512 (diff)
downloadnextcloud-server-88cc2ccb3b8ab4bb8a475e82756d8dc13db69b32.tar.gz
nextcloud-server-88cc2ccb3b8ab4bb8a475e82756d8dc13db69b32.zip
use renamed constants
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/google.php4
-rw-r--r--apps/files_external/lib/webdav.php2
-rw-r--r--apps/files_sharing/lib/sharedstorage.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php
index ef8dd6d8cad..3ce3c38389b 100644
--- a/apps/files_external/lib/google.php
+++ b/apps/files_external/lib/google.php
@@ -284,7 +284,7 @@ class Google extends \OC\Files\Storage\Common {
// Check if this is a Google Doc
if ($this->getMimeType($path) !== $file->getMimeType()) {
// Return unknown file size
- $stat['size'] = \OC\Files\FREE_SPACE_UNKNOWN;
+ $stat['size'] = \OC\Files\SPACE_UNKNOWN;
} else {
$stat['size'] = $file->getFileSize();
}
@@ -587,4 +587,4 @@ class Google extends \OC\Files\Storage\Common {
return false;
}
-} \ No newline at end of file
+}
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index 4869322d87a..57ff3707d36 100644
--- a/apps/files_external/lib/webdav.php
+++ b/apps/files_external/lib/webdav.php
@@ -224,7 +224,7 @@ class DAV extends \OC\Files\Storage\Common{
return 0;
}
} catch(\Exception $e) {
- return \OC\Files\FREE_SPACE_UNKNOWN;
+ return \OC\Files\SPACE_UNKNOWN;
}
}
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index 5c23a9eb0d0..7384b094cb0 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -391,7 +391,7 @@ class Shared extends \OC\Files\Storage\Common {
public function free_space($path) {
if ($path == '') {
- return \OC\Files\FREE_SPACE_UNKNOWN;
+ return \OC\Files\SPACE_UNKNOWN;
}
$source = $this->getSourcePath($path);
if ($source) {