diff options
Diffstat (limited to 'lib/gitlab/import_export/snippets_repo_restorer.rb')
-rw-r--r-- | lib/gitlab/import_export/snippets_repo_restorer.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/snippets_repo_restorer.rb b/lib/gitlab/import_export/snippets_repo_restorer.rb index 8fe83225812..9ff3e74a6b1 100644 --- a/lib/gitlab/import_export/snippets_repo_restorer.rb +++ b/lib/gitlab/import_export/snippets_repo_restorer.rb @@ -10,7 +10,6 @@ module Gitlab end def restore - return true unless Feature.enabled?(:version_snippets, @user) return true unless Dir.exist?(snippets_repo_bundle_path) @project.snippets.find_each.all? do |snippet| |