diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-08-19 14:05:08 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-08-19 14:05:08 +0200 |
commit | b3b335480927a67f3019dfb9933b06e96b487179 (patch) | |
tree | 615c024122709fbafd903bdac1aedcc69c938f52 /apps | |
parent | 5d7deefd95c3108ff4deb17d23e78b39dbe80ee3 (diff) | |
download | nextcloud-server-b3b335480927a67f3019dfb9933b06e96b487179.tar.gz nextcloud-server-b3b335480927a67f3019dfb9933b06e96b487179.zip |
move to public namespace
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/google.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 2 |
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) { |