Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-19 18:24:42 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-01-19 18:24:42 +0300
commit2ece1b774aac36f4a92801c665355e7fe1c4d48f (patch)
treed9397aad0e250f489ba30e8591ec7e9fa5743388 /app/services
parentf6e14431a0676708590ddb7cb7567e1f7e97c244 (diff)
Fix creator should be added as a master of the project on creation
Diffstat (limited to 'app/services')
-rw-r--r--app/services/projects/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/create_service.rb b/app/services/projects/create_service.rb
index a6820183bee..c94d7ab710f 100644
--- a/app/services/projects/create_service.rb
+++ b/app/services/projects/create_service.rb
@@ -95,7 +95,7 @@ module Projects
system_hook_service.execute_hooks_for(@project, :create)
unless @project.group
- @project.team << [current_user, :master, current_user]
+ @project.team << [current_user, :master]
end
@project.import_start if @project.import?