Ensure that the first added admin performs repository imports

This commit is contained in:
Fotis Gimian 2015-03-31 20:25:50 +11:00 committed by Jeroen van Baarsen
parent be969bb4de
commit d74673fd43
2 changed files with 2 additions and 1 deletions

View file

@ -66,6 +66,7 @@ v 7.11.0 (unreleased)
- Add style for <kbd> element in markdown
- Spin spinner icon next to "Checking for CI status..." on MR page.
- Fix reference links in dashboard activity and ATOM feeds.
- Ensure that the first added admin performs repository imports
v 7.10.2
- Fix CI links on MR page

View file

@ -35,7 +35,7 @@ namespace :gitlab do
if project
puts " * #{project.name} (#{repo_path}) exists"
else
user = User.admins.first
user = User.admins.reorder("id").first
project_params = {
name: name,