BigW Consortium Gitlab

Commit b2c4675c by Marin Jankovski

Recursivity needed if a fork is a fork of a fork.

parent b9a0f96d
......@@ -8,7 +8,7 @@ class LfsObject < ActiveRecord::Base
def storage_project(project)
if project && project.forked?
project.forked_from_project
storage_project(project.forked_from_project)
else
project
end
......
......@@ -220,7 +220,7 @@ module Gitlab
def storage_project(project)
if project.forked?
project.forked_from_project
storage_project(project.forked_from_project)
else
project
end
......
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