Merge branch 'bvl-remove-old-fork-check' into 'master'
Remove deprecated `#forked_from?` check See merge request gitlab-org/gitlab-ce!30132
This commit is contained in:
commit
bc3ffe8354
1 changed files with 0 additions and 5 deletions
|
@ -1445,11 +1445,6 @@ class Project < ApplicationRecord
|
|||
end
|
||||
|
||||
def in_fork_network_of?(other_project)
|
||||
# TODO: Remove this in a next release when all fork_networks are populated
|
||||
# This makes sure all MergeRequests remain valid while the projects don't
|
||||
# have a fork_network yet.
|
||||
return true if forked_from?(other_project)
|
||||
|
||||
return false if fork_network.nil? || other_project.fork_network.nil?
|
||||
|
||||
fork_network == other_project.fork_network
|
||||
|
|
Loading…
Reference in a new issue