Commit 25b09688 authored by Jeroen van Baarsen's avatar Jeroen van Baarsen

Merge pull request #9277 from jvanbaarsen/pr/9061

Ensure that the first added admin performs repository imports
parents 940c4c10 d74673fd
...@@ -66,6 +66,7 @@ v 7.11.0 (unreleased) ...@@ -66,6 +66,7 @@ v 7.11.0 (unreleased)
- Add style for <kbd> element in markdown - Add style for <kbd> element in markdown
- Spin spinner icon next to "Checking for CI status..." on MR page. - Spin spinner icon next to "Checking for CI status..." on MR page.
- Fix reference links in dashboard activity and ATOM feeds. - Fix reference links in dashboard activity and ATOM feeds.
- Ensure that the first added admin performs repository imports
v 7.10.2 v 7.10.2
- Fix CI links on MR page - Fix CI links on MR page
......
...@@ -35,7 +35,7 @@ namespace :gitlab do ...@@ -35,7 +35,7 @@ namespace :gitlab do
if project if project
puts " * #{project.name} (#{repo_path}) exists" puts " * #{project.name} (#{repo_path}) exists"
else else
user = User.admins.first user = User.admins.reorder("id").first
project_params = { project_params = {
name: name, name: name,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment