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 /lib/private/helper.php | |
parent | 5d7deefd95c3108ff4deb17d23e78b39dbe80ee3 (diff) | |
download | nextcloud-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.php | 4 |
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(); |