diff options
author | Regis <boudinot.regis@yahoo.com> | 2017-06-01 15:33:42 -0600 |
---|---|---|
committer | Regis <boudinot.regis@yahoo.com> | 2017-06-02 15:41:08 -0600 |
commit | 7bef16ea7f32a7d15503c646b0c267dd1a076ca7 (patch) | |
tree | 1affea8879d591758ed263ee8a6ef2b0199f9134 | |
parent | fb00c849487ed19d417118ebda3e7c85be75bd88 (diff) | |
download | gitlab-ce-7bef16ea7f32a7d15503c646b0c267dd1a076ca7.tar.gz |
fix double method definition for can_read-reference
-rw-r--r-- | lib/banzai/reference_parser/merge_request_parser.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/banzai/reference_parser/merge_request_parser.rb b/lib/banzai/reference_parser/merge_request_parser.rb index 2b4ed9153ec..a66989553fb 100644 --- a/lib/banzai/reference_parser/merge_request_parser.rb +++ b/lib/banzai/reference_parser/merge_request_parser.rb @@ -9,10 +9,6 @@ module Banzai private - def can_read_reference?(user, ref_project) - can?(user, :read_merge_request, ref_project) - end - def can_read_reference?(user, ref_project, node) can?(user, :read_merge_request, ref_project) end |