Commit ec554636 authored by Patrick Bajao's avatar Patrick Bajao

Add comments about removing some methods later

These methods won't be necessary once all the `LfsObjectsProject`
are backfilled for forks.
parent 4e6ab24d
......@@ -1357,6 +1357,10 @@ class Project < ApplicationRecord
forked_from_project || fork_network&.root_project
end
# TODO: Remove this method once all LfsObjectsProject records are backfilled
# for forks.
#
# See https://gitlab.com/gitlab-org/gitlab/issues/122002 for more info.
def lfs_storage_project
@lfs_storage_project ||= begin
result = self
......
......@@ -52,6 +52,10 @@ module Projects
Projects::ForksCountService.new(project).refresh_cache
end
# TODO: Remove this method once all LfsObjectsProject records are backfilled
# for forks.
#
# See https://gitlab.com/gitlab-org/gitlab/issues/122002 for more info.
def save_lfs_objects
return unless @project.forked?
......
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