diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/BackgroundJobs/ComputeStatistics.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/BackgroundJobs/ComputeStatistics.php b/lib/BackgroundJobs/ComputeStatistics.php index b9d8485..7ab0518 100644 --- a/lib/BackgroundJobs/ComputeStatistics.php +++ b/lib/BackgroundJobs/ComputeStatistics.php @@ -236,9 +236,15 @@ class ComputeStatistics extends TimedJob { } $max = $statistics['survey_client']; + $apps = \OC::$server->getAppManager()->getAlwaysEnabledApps(); + $apps = array_flip($apps); foreach ($statistics as $key => $value) { - $statistics[$key] = 100/$max*$value; + if (!isset($apps[$key])) { + $statistics[$key] = $value; + } else { + unset($statistics[$key]); + } } arsort($statistics); |