diff options
author | Alex Nordlund <deep.alexander@gmail.com> | 2014-10-05 03:45:48 +0400 |
---|---|---|
committer | Alex Nordlund <deep.alexander@gmail.com> | 2014-10-05 03:45:48 +0400 |
commit | acc7377e5f3b2b0df39d3d09ca8525ec38911d7e (patch) | |
tree | a06bfb2eee89b50886dbf1b9e3d6bb6b6d2af25b /app | |
parent | 03f3c74ceefdfc1077203c831643180c51e032cf (diff) |
Removed setting for statistics, showing both instead.
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 |