diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-09-17 19:26:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 19:26:17 +0300 |
commit | aab506b5294dbc2b1742d5f559507b2092ac48c0 (patch) | |
tree | c25f4c238e1e6786174e5bbfd70074608cffe2f3 | |
parent | 58958f73f420886f9c349c59ee8718e5819084e8 (diff) | |
parent | 6f73763eca812123215433b261840ec9eabf150c (diff) |
Merge pull request #235 from nextcloud/bug/234/normalize-to-gbv20.0.0RC1
Update calculation for used and available disk space in gigabyte.
-rw-r--r-- | lib/Os.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -109,8 +109,8 @@ class Os implements IOperatingSystem { foreach ($this->backend->getDiskInfo() as $disk) { $data[] = [ - round($disk->getUsed() / 1024 / 1024 / 1024, 1), - round($disk->getAvailable() / 1024 / 1024 / 1024, 1) + round($disk->getUsed() / 1024 , 1), + round($disk->getAvailable() / 1024, 1) ]; } |