summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-16 10:59:36 +0200
committerJames Lopez <james@jameslopez.es>2016-06-16 10:59:36 +0200
commit1b8a1073253c03cf6f434530afcdb727fb7268ca (patch)
treef74d8c0bb5def93a1411079b49b3040f93a13189
parent5087e10fe9481093b65f8d2b37ba962911109a5f (diff)
downloadgitlab-ce-1b8a1073253c03cf6f434530afcdb727fb7268ca.tar.gz
fix wiki stuff
-rw-r--r--lib/gitlab/import_export/repo_restorer.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/repo_restorer.rb b/lib/gitlab/import_export/repo_restorer.rb
index 3c2b801b571..546dae4d122 100644
--- a/lib/gitlab/import_export/repo_restorer.rb
+++ b/lib/gitlab/import_export/repo_restorer.rb
@@ -11,8 +11,7 @@ module Gitlab
end
def restore
- return true if wiki?
- return false unless File.exist?(@path_to_bundle)
+ return wiki? unless File.exist?(@path_to_bundle)
FileUtils.mkdir_p(path_to_repo)