diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-19 20:48:48 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-19 20:48:48 +0400 |
commit | b3ef63a0a547610ba8ac6435674eabc5a2130c3d (patch) | |
tree | b90c2d38c8ea93941fd0067e89a0e03f60b00c9c /app/helpers | |
parent | cf8b465cb96f5aa6e53fec60c0d6e62ad1ccbc5e (diff) |
Migrate global project taks. Removed more teams related functionality
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/admin/teams/members_helper.rb | 5 | ||||
-rw-r--r-- | app/helpers/admin/teams/projects_helper.rb | 5 | ||||
-rw-r--r-- | app/helpers/namespaces_helper.rb | 1 |
3 files changed, 0 insertions, 11 deletions
diff --git a/app/helpers/admin/teams/members_helper.rb b/app/helpers/admin/teams/members_helper.rb deleted file mode 100644 index 58b9f1896c4..00000000000 --- a/app/helpers/admin/teams/members_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module Admin::Teams::MembersHelper - def member_since(team, member) - team.user_team_user_relationships.find_by_user_id(member).created_at - end -end diff --git a/app/helpers/admin/teams/projects_helper.rb b/app/helpers/admin/teams/projects_helper.rb deleted file mode 100644 index b97cc403337..00000000000 --- a/app/helpers/admin/teams/projects_helper.rb +++ /dev/null @@ -1,5 +0,0 @@ -module Admin::Teams::ProjectsHelper - def assigned_since(team, project) - team.user_team_project_relationships.find_by_project_id(project).created_at - end -end diff --git a/app/helpers/namespaces_helper.rb b/app/helpers/namespaces_helper.rb index a6fcf8d8cf2..dc88e178360 100644 --- a/app/helpers/namespaces_helper.rb +++ b/app/helpers/namespaces_helper.rb @@ -7,7 +7,6 @@ module NamespacesHelper users_opts = [ "Users", users.sort_by(&:human_name).map {|u| [u.human_name, u.id]} ] options = [] - options << global_opts if current_user.admin options << group_opts options << users_opts |