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

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Nordlund <deep.alexander@gmail.com>2014-10-05 03:45:48 +0400
committerAlex Nordlund <deep.alexander@gmail.com>2014-10-05 03:45:48 +0400
commitacc7377e5f3b2b0df39d3d09ca8525ec38911d7e (patch)
treea06bfb2eee89b50886dbf1b9e3d6bb6b6d2af25b /app
parent03f3c74ceefdfc1077203c831643180c51e032cf (diff)
Removed setting for statistics, showing both instead.
Diffstat (limited to 'app')
-rw-r--r--app/presenters/statistics_presenter.rb6
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