summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-08-19 14:05:08 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-19 14:05:08 +0200
commitb3b335480927a67f3019dfb9933b06e96b487179 (patch)
tree615c024122709fbafd903bdac1aedcc69c938f52 /apps
parent5d7deefd95c3108ff4deb17d23e78b39dbe80ee3 (diff)
downloadnextcloud-server-b3b335480927a67f3019dfb9933b06e96b487179.tar.gz
nextcloud-server-b3b335480927a67f3019dfb9933b06e96b487179.zip
move to public namespace
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/google.php2
-rw-r--r--apps/files_sharing/lib/sharedstorage.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php
index e653050c5b3..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\Filesystem::SPACE_UNKNOWN;
+ $stat['size'] = \OCP\Files\FileInfo::SPACE_UNKNOWN;
} else {
$stat['size'] = $file->getFileSize();
}
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php
index 4b9be4109e9..07f6b9da10c 100644
--- a/apps/files_sharing/lib/sharedstorage.php
+++ b/apps/files_sharing/lib/sharedstorage.php
@@ -377,7 +377,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage {
list($storage, $internalPath) = \OC\Files\Filesystem::resolvePath($source);
return $storage->free_space($internalPath);
}
- return \OC\Files\Filesystem::SPACE_UNKNOWN;
+ return \OCP\Files\FileInfo::SPACE_UNKNOWN;
}
public function getLocalFile($path) {