summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
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 /lib/private/helper.php
parent5d7deefd95c3108ff4deb17d23e78b39dbe80ee3 (diff)
downloadnextcloud-server-b3b335480927a67f3019dfb9933b06e96b487179.tar.gz
nextcloud-server-b3b335480927a67f3019dfb9933b06e96b487179.zip
move to public namespace
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 840869e58c4..17d3840a3ea 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -887,7 +887,7 @@ class OC_Helper {
*/
public static function freeSpace($dir) {
$freeSpace = \OC\Files\Filesystem::free_space($dir);
- if ($freeSpace !== \OC\Files\Filesystem::SPACE_UNKNOWN) {
+ if ($freeSpace !== \OCP\Files\FileInfo::SPACE_UNKNOWN) {
$freeSpace = max($freeSpace, 0);
return $freeSpace;
} else {
@@ -960,7 +960,7 @@ class OC_Helper {
}
if ($includeExtStorage) {
$quota = OC_Util::getUserQuota(\OCP\User::getUser());
- if ($quota !== \OC\Files\Filesystem::SPACE_UNLIMITED) {
+ if ($quota !== \OCP\Files\FileInfo::SPACE_UNLIMITED) {
// always get free space / total space from root + mount points
$path = '';
return self::getGlobalStorageInfo();