Commit d899fcdd2da157c72e4efc427a5d2f1e91a5b491
Exists in
master
and in
4 other branches
Merge pull request #4325 from zzet/patch-1
Remove unused but slow code
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
app/controllers/admin/groups_controller.rb
@@ -8,10 +8,6 @@ class Admin::GroupsController < Admin::ApplicationController | @@ -8,10 +8,6 @@ class Admin::GroupsController < Admin::ApplicationController | ||
8 | end | 8 | end |
9 | 9 | ||
10 | def show | 10 | def show |
11 | - @projects = Project.scoped | ||
12 | - @projects = @projects.not_in_group(@group) if @group.projects.present? | ||
13 | - @projects = @projects.all | ||
14 | - @projects.reject!(&:empty_repo?) | ||
15 | end | 11 | end |
16 | 12 | ||
17 | def new | 13 | def new |