summaryrefslogtreecommitdiffstats
path: root/apps/files_external
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 /apps/files_external
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 'apps/files_external')
-rw-r--r--apps/files_external/lib/google.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php
index 56c0d451651..88d82d51e2e 100644
--- a/apps/files_external/lib/google.php
+++ b/apps/files_external/lib/google.php
@@ -286,7 +286,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\SPACE_UNKNOWN;
+ $stat['size'] = \OCP\Files\FileInfo::SPACE_UNKNOWN;
} else {
$stat['size'] = $file->getFileSize();
}