Commit f8bbe71f authored by Steffen van Bergerem's avatar Steffen van Bergerem Committed by Jonne Haß
Browse files

Remove correlations

closes #6223
parent c8f48206
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
# 0.5.3.0

## Refactor
* Drop broken correlations from the admin pages [#6223](https://github.com/diaspora/diaspora/pull/6223)

## Bug fixes
* Fix indentation and a link title on the default home page [#6212](https://github.com/diaspora/diaspora/pull/6212)
+0 −4
Original line number Diff line number Diff line
@@ -75,10 +75,6 @@ class AdminsController < Admin::AdminController

  end

  def correlations
    @correlations_hash = Statistics.new.generate_correlations
  end

  private

  def percent_change(today, yesterday)
+0 −1
Original line number Diff line number Diff line
@@ -10,6 +10,5 @@
      %li= link_to t('.weekly_user_stats'), weekly_user_stats_path
      %li= link_to t('.pod_stats'), pod_stats_path
      %li= link_to t('.report'), report_index_path
      %li= link_to t('.correlations'), correlations_path
      %li= link_to t('.sidekiq_monitor'), sidekiq_path
+0 −12
Original line number Diff line number Diff line
.container
  %div
    = render :partial => 'admins/admin_bar'

  %div.row
    %div.span12
      %h1
        = t('.correlations_count')
      %ul
        - @correlations_hash.keys.each do |k|
          %li
            = "#{k.to_s}, #{@correlations_hash[k]}"
+0 −1
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ require 'postzord'
require 'publisher'
require 'pubsubhubbub'
require 'salmon'
require 'statistics'
require 'stream'
require 'webfinger'
require 'webfinger_profile'
Loading