Commit e2b870f0 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Remove full_namespace_format_regex because not used

Beside that it's using the same instance variable with
`namespace_format_regex` which is going to cause issues.
parent 4f41e81d
......@@ -185,10 +185,6 @@ module Gitlab
@full_project_git_path_regex ||= %r{\A\/?(?<namespace_path>#{full_namespace_route_regex})\/(?<project_path>#{project_route_regex})\.git\z}
end
def full_namespace_format_regex
@namespace_format_regex ||= /A#{FULL_NAMESPACE_FORMAT_REGEX}\z/.freeze
end
def namespace_format_regex
@namespace_format_regex ||= /\A#{NAMESPACE_FORMAT_REGEX}\z/.freeze
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