debian-mirror-gitlab/app/services/projects/base_move_relations_service.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
300 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2018-05-09 12:01:36 +05:30
module Projects
class BaseMoveRelationsService < BaseService
attr_reader :source_project
2022-05-07 20:08:51 +05:30
2018-05-09 12:01:36 +05:30
def execute(source_project, remove_remaining_elements: true)
return if source_project.blank?
@source_project = source_project
true
end
end
end