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
path: root/lib
diff options
context:
space:
mode:
authorPatrik Kernstock <info@pkern.at>2018-07-18 23:19:27 +0300
committerPatrik Kernstock <info@pkern.at>2018-07-18 23:19:27 +0300
commit0d409df40b133268c1e33f28f31c6cc77d41ce9c (patch)
tree94def9d4fedd1e65564bd33e987b7cd032ea8393 /lib
parentac346625e09ce241c6f66714239db184c3651b03 (diff)
Stealthy fixed indent
Signed-off-by: Patrik Kernstock <info@pkern.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/SystemStatistics.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SystemStatistics.php b/lib/SystemStatistics.php
index 1e3f34b..1777913 100644
--- a/lib/SystemStatistics.php
+++ b/lib/SystemStatistics.php
@@ -74,7 +74,7 @@ class SystemStatistics {
'mem_free' => $memoryUsage['mem_free'],
'swap_total' => $memoryUsage['swap_total'],
'swap_free' => $memoryUsage['swap_free'],
- 'apps' => $this->getAppsInfo()
+ 'apps' => $this->getAppsInfo()
];
}
@@ -94,7 +94,7 @@ class SystemStatistics {
//Read Swap usage:
exec("/usr/sbin/swapinfo",$return,$status);
if ($status===0 && count($return) > 1) {
- $line = preg_split("/[\s]+/", $return[1]);
+ $line = preg_split("/[\s]+/", $return[1]);
if(count($line) > 3) {
$swapTotal = (int) $line[3];
$swapFree = $swapTotal- (int) $line[2];