Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Miller <travis@travismiller.com>2018-03-05 22:53:40 +0300
committerTravis Miller <travis@travismiller.com>2018-03-05 22:53:40 +0300
commit6d1c5014e96d96ad44fed71dd99bf6c1d4af3cec (patch)
tree0c709141edf82b367de7ef268df5c6346be69c2c /app/models/project.rb
parente20061218c039859ecff6f89d709c7132ad7d18f (diff)
review: rename import_export to import_export_shared
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb8
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