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

github.com/nextcloud/survey_server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-09-08 16:15:02 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2016-09-08 16:15:02 +0300
commit815c594d3846d4636e8741bd7e45c0013a1b51d8 (patch)
treefd5b7a84ccd0ddbd9d2d41fa02ea42578604e1c7
parent1f3910a2ffd8797a2dad4ee9aeadc6048cc5afc6 (diff)
use survey_client as reference, this app needs to be enabled if we receive the report
-rw-r--r--lib/BackgroundJobs/ComputeStatistics.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/BackgroundJobs/ComputeStatistics.php b/lib/BackgroundJobs/ComputeStatistics.php
index cfb16f4..6ec38a8 100644
--- a/lib/BackgroundJobs/ComputeStatistics.php
+++ b/lib/BackgroundJobs/ComputeStatistics.php
@@ -194,7 +194,7 @@ class ComputeStatistics extends TimedJob {
}
}
- $max = $statistics['files'];
+ $max = $statistics['survey_client'];
foreach ($statistics as $key => $value) {
$statistics[$key] = 100/$max*$value;