Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7a14ae1f
Commit
7a14ae1f
authored
Oct 06, 2020
by
Igor Drozdov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings for overwrite_project_service
parent
104512a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
app/services/projects/overwrite_project_service.rb
app/services/projects/overwrite_project_service.rb
+6
-6
No files found.
app/services/projects/overwrite_project_service.rb
View file @
7a14ae1f
...
...
@@ -32,12 +32,12 @@ module Projects
def
move_before_destroy_relationships
(
source_project
)
options
=
{
remove_remaining_elements:
false
}
::
Projects
::
MoveUsersStarProjectsService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
options
)
::
Projects
::
MoveAccessService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
options
)
::
Projects
::
MoveDeployKeysProjectsService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
options
)
::
Projects
::
MoveNotificationSettingsService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
options
)
::
Projects
::
MoveForksService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
options
)
::
Projects
::
MoveLfsObjectsProjectsService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
options
)
::
Projects
::
MoveUsersStarProjectsService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
**
options
)
::
Projects
::
MoveAccessService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
**
options
)
::
Projects
::
MoveDeployKeysProjectsService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
**
options
)
::
Projects
::
MoveNotificationSettingsService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
**
options
)
::
Projects
::
MoveForksService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
**
options
)
::
Projects
::
MoveLfsObjectsProjectsService
.
new
(
@project
,
@current_user
).
execute
(
source_project
,
**
options
)
add_source_project_to_fork_network
(
source_project
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment