diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 981d631b0..6ac7d3a31 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -43,7 +43,6 @@ class UsersController < ApplicationController helper :words #added by young def user_projects - @message = MessagesForUser.find_message(@user.id) @memberships = @user.memberships.all(:conditions => Project.visible_condition(User.current)) events = Redmine::Activity::Fetcher.new(User.current, :author => @user).events(nil, nil, :limit => 20) @@ -78,11 +77,6 @@ class UsersController < ApplicationController # added by fq def user_activities - #####fq - # @message = MessagesForUser.find_message(@user.id) - # show projects based on current user visibility - # @memberships = @user.memberships.all(:conditions => Project.visible_condition(User.current)) - @watcher = User.watched_by_id(@user) events = [] for user in @watcher diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 232ab672f..e61cbbba9 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -77,15 +77,6 @@ <%= l(:label_filter_plural) %> -->