mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Float the quota
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
7a66cb84dc
commit
c73f11ba4d
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,7 @@ class OC_Helper {
|
|||
/**
|
||||
* Get storage info including all mount points and quota
|
||||
*/
|
||||
private static function getGlobalStorageInfo(int $quota, IUser $user, IMountPoint $mount): array {
|
||||
private static function getGlobalStorageInfo(float $quota, IUser $user, IMountPoint $mount): array {
|
||||
$rootInfo = \OC\Files\Filesystem::getFileInfo('', 'ext');
|
||||
$used = $rootInfo['size'];
|
||||
if ($used < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue