From 475530e59f65f3e8d24623383512e092b2d02521 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 7 Nov 2010 14:15:01 +0000 Subject: Adds a "visible" option on User and Project custom fields (#1738). If set to false, the custom field won't be display on user profile/project overview. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4382 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/users_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers/users_controller.rb') diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 66979d5e2..bf38f87fd 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -51,7 +51,6 @@ class UsersController < ApplicationController def show @user = User.find(params[:id]) - @custom_values = @user.custom_values # show projects based on current user visibility @memberships = @user.memberships.all(:conditions => Project.visible_by(User.current)) -- cgit v1.2.3