Commit 1496c01521b46265660de72209fd81b585639bcf
1 parent
6752968b
Exists in
master
and in
4 other branches
try to move wiki if it does not exist
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
app/services/project_transfer_service.rb
| @@ -27,9 +27,7 @@ class ProjectTransferService | @@ -27,9 +27,7 @@ class ProjectTransferService | ||
| 27 | end | 27 | end |
| 28 | 28 | ||
| 29 | # Move wiki repo also if present | 29 | # Move wiki repo also if present |
| 30 | - if project.wikis.any? | ||
| 31 | - gitlab_shell.mv_repository("#{old_path}.wiki", "#{new_path}.wiki") | ||
| 32 | - end | 30 | + gitlab_shell.mv_repository("#{old_path}.wiki", "#{new_path}.wiki") |
| 33 | 31 | ||
| 34 | true | 32 | true |
| 35 | end | 33 | end |