diff options
author | Travis Miller <travis@travismiller.com> | 2018-03-05 22:53:40 +0300 |
---|---|---|
committer | Travis Miller <travis@travismiller.com> | 2018-03-05 22:53:40 +0300 |
commit | 6d1c5014e96d96ad44fed71dd99bf6c1d4af3cec (patch) | |
tree | 0c709141edf82b367de7ef268df5c6346be69c2c /app/models/project.rb | |
parent | e20061218c039859ecff6f89d709c7132ad7d18f (diff) |
review: rename import_export to import_export_shared
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 190473aa196..666614bb3d9 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1557,14 +1557,14 @@ class Project < ActiveRecord::Base end end - def import_export - @import_export ||= Gitlab::ImportExport::Shared.new(self) + def import_export_shared + @import_export_shared ||= Gitlab::ImportExport::Shared.new(self) end def export_path return nil unless namespace.present? || hashed_storage?(:repository) - import_export.archive_path + import_export_shared.archive_path end def export_project_path @@ -1582,7 +1582,7 @@ class Project < ActiveRecord::Base end def export_in_progress? - import_export.active_export_count > 0 + import_export_shared.active_export_count > 0 end def remove_exports |