<commit_before>class DashboardController < ApplicationController
  include Sufia::DashboardControllerBehavior

  def index
    @incoming = ProxyDepositRequest.where(receiving_user_id: current_user.id).reject &:deleted_file?
    @outgoing = ProxyDepositRequest.where(sending_user_id: current_user.id)
    super
  end

  protected

  def gather_dashboard_information
    @user = current_user
    @activity = current_user.get_all_user_activity(params[:since].blank? ? DateTime.now.to_i - 24*60*60 : params[:since].to_i)
    @notifications = current_user.mailbox.inbox
  end

end<commit_msg>removing scholarsphere override for user activity now that sufia does it correctly.  fixes #9584<commit_after>class DashboardController < ApplicationController
  include Sufia::DashboardControllerBehavior

  def index
    @incoming = ProxyDepositRequest.where(receiving_user_id: current_user.id).reject &:deleted_file?
    @outgoing = ProxyDepositRequest.where(sending_user_id: current_user.id)
    super
  end
end
{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.00999000999000999, 'mean_word_length': 5.68, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4426243', 'n_tokens_mistral': 321, 'n_tokens_neox': 309, 'n_words': 59}