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 | 27 | end |
28 | 28 | |
29 | 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 | 32 | true |
35 | 33 | end | ... | ... |