@@ 651-653 (lines=3) @@ | ||
648 | $softQuota = true; |
|
649 | $quota = $config->getUserValue($user, 'files', 'quota', null); |
|
650 | $view = new \OC\Files\View('/' . $user); |
|
651 | if ($quota === null || $quota === 'default') { |
|
652 | $quota = $config->getAppValue('files', 'default_quota', null); |
|
653 | } |
|
654 | if ($quota === null || $quota === 'none') { |
|
655 | $quota = \OC\Files\Filesystem::free_space('/'); |
|
656 | $softQuota = false; |
@@ 552-554 (lines=3) @@ | ||
549 | // get available disk space for user |
|
550 | $softQuota = true; |
|
551 | $quota = $config->getUserValue($uid, 'files', 'quota', null); |
|
552 | if ( $quota === null || $quota === 'default') { |
|
553 | $quota = $config->getAppValue('files', 'default_quota', null); |
|
554 | } |
|
555 | if ( $quota === null || $quota === 'none' ) { |
|
556 | $quota = \OC\Files\Filesystem::free_space('/'); |
|
557 | $softQuota = false; |