diff options
Diffstat (limited to 'app/finders/protected_branches_finder.rb')
-rw-r--r-- | app/finders/protected_branches_finder.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/finders/protected_branches_finder.rb b/app/finders/protected_branches_finder.rb index 68e8d2a9f54..a452a1f993b 100644 --- a/app/finders/protected_branches_finder.rb +++ b/app/finders/protected_branches_finder.rb @@ -20,9 +20,7 @@ class ProtectedBranchesFinder def execute protected_branches = project.limited_protected_branches(LIMIT) - protected_branches = by_name(protected_branches) - - protected_branches + by_name(protected_branches) end private |