human_merge_status replaced by human_merge_status_name
This commit is contained in:
parent
52e0df5c23
commit
6d68923edc
3 changed files with 2 additions and 7 deletions
|
@ -85,11 +85,6 @@ class MergeRequest < ActiveRecord::Base
|
|||
scope :cared, ->(user) { where('assignee_id = :user OR author_id = :user', user: user.id) }
|
||||
scope :by_milestone, ->(milestone) { where("milestone_id = :milestone_id", milestone_id: milestone) }
|
||||
|
||||
# DEPRECATED: Please use human_merge_status_name instead
|
||||
def human_merge_status
|
||||
human_merge_status_name
|
||||
end
|
||||
|
||||
def validate_branches
|
||||
if target_branch == source_branch
|
||||
errors.add :base, "You can not use same branch for source and target branches"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue