Skip to content
Snippets Groups Projects

Fixes activation of project mirror when project is created.

All threads resolved!
Files
14
module Projects
class CreateService < BaseService
prepend ::EE::Projects::CreateService
def initialize(user, params)
@current_user, @params = user, params.dup
end
@@ -47,6 +49,8 @@ def execute
@project.namespace_id = current_user.namespace_id
end
yield(@project)
@project.creator = current_user
if forked_from_project_id
Loading