diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-11-18 14:42:40 -0800 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-11-18 14:42:40 -0800 |
commit | 4a0d295e4ad2546049919a893ad219944466536a (patch) | |
tree | 876b5b0004e226181161fe8880e8120a17c59588 /lib/private/files/filesystem.php | |
parent | cdc72ddd8d9eeeb3d1bd0d875471bd90463622c9 (diff) | |
parent | 614e4d485c8b74f6879c401f8cbb93e9335bf9b3 (diff) | |
download | nextcloud-server-4a0d295e4ad2546049919a893ad219944466536a.tar.gz nextcloud-server-4a0d295e4ad2546049919a893ad219944466536a.zip |
Merge pull request #5927 from owncloud/quota-excludeextstorage
External storage space is now not counted in total space
Diffstat (limited to 'lib/private/files/filesystem.php')
-rw-r--r-- | lib/private/files/filesystem.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php index 8500b3c581b..a83e9aa86d2 100644 --- a/lib/private/files/filesystem.php +++ b/lib/private/files/filesystem.php @@ -725,6 +725,8 @@ class Filesystem { * get the filesystem info * * @param string $path + * @param boolean $includeMountPoints whether to add mountpoint sizes, + * defaults to true * @return array * * returns an associative array with the following keys: @@ -734,8 +736,8 @@ class Filesystem { * - encrypted * - versioned */ - public static function getFileInfo($path) { - return self::$defaultInstance->getFileInfo($path); + public static function getFileInfo($path, $includeMountPoints = true) { + return self::$defaultInstance->getFileInfo($path, $includeMountPoints); } /** |