diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/presenters/statistics_presenter.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/presenters/statistics_presenter.rb b/app/presenters/statistics_presenter.rb index 199d64b67..f723fc639 100644 --- a/app/presenters/statistics_presenter.rb +++ b/app/presenters/statistics_presenter.rb @@ -19,10 +19,8 @@ class StatisticsPresenter result['local_comments'] = self.local_comments end result["services"] = Configuration::KNOWN_SERVICES.select {|service| AppConfig["services.#{service}.enable"]}.map(&:to_s) - if AppConfig.privacy.statistics.deprecated_format? - Configuration::KNOWN_SERVICES.each do |service, options| - result[service.to_s] = AppConfig["services.#{service}.enable"] - end + Configuration::KNOWN_SERVICES.each do |service, options| + result[service.to_s] = AppConfig["services.#{service}.enable"] end result |