Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/serverinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Os.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Os.php b/lib/Os.php
index 4df6c85..01f086e 100644
--- a/lib/Os.php
+++ b/lib/Os.php
@@ -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)
];
}