mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
Float the quota
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
d524329ec3
commit
7bcd4193b8
1 changed files with 1 additions and 1 deletions
|
|
@ -577,7 +577,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