Commit fa2519cb authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Use if instead of unless on Projects::HashedStorage::MigrateRepositoryService

parent ec8a97eb9945
......@@ -27,11 +27,11 @@ def execute
result &&= move_repository("#{@old_wiki_disk_path}", "#{@new_disk_path}.wiki")
end
unless result
if result
project.write_repository_config
else
rollback_folder_move
project.storage_version = nil
else
project.write_repository_config
end
project.repository_read_only = false
......
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