diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 13:34:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 13:34:06 +0300 |
commit | 859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 (patch) | |
tree | d7f2700abe6b4ffcb2dcfc80631b2d87d0609239 /app/services/boards/list_service.rb | |
parent | 446d496a6d000c73a304be52587cd9bbc7493136 (diff) |
Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42
Diffstat (limited to 'app/services/boards/list_service.rb')
-rw-r--r-- | app/services/boards/list_service.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/services/boards/list_service.rb b/app/services/boards/list_service.rb index 729bca6580e..80ceb91f56d 100644 --- a/app/services/boards/list_service.rb +++ b/app/services/boards/list_service.rb @@ -2,9 +2,7 @@ module Boards class ListService < Boards::BaseService - def execute(create_default_board: true) - create_board! if create_default_board && parent.boards.empty? - + def execute find_boards end @@ -18,10 +16,6 @@ module Boards parent.boards.first_board end - def create_board! - Boards::CreateService.new(parent, current_user).execute - end - def find_boards found = if parent.multiple_issue_boards_available? |