Commit 4bb777d0 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'ee-add-ee-images-ce' into 'master'

Remove full_namespace_format_regex because it's not used

See merge request gitlab-org/gitlab-ee!5061
parents edd95e13 5b4d2deb
...@@ -60,8 +60,6 @@ Currently the following names are reserved as top level groups: ...@@ -60,8 +60,6 @@ Currently the following names are reserved as top level groups:
- explore - explore
- favicon.ico - favicon.ico
- groups - groups
- header_logo_dark.png
- header_logo_light.png
- health_check - health_check
- help - help
- import - import
......
...@@ -33,8 +33,6 @@ module Gitlab ...@@ -33,8 +33,6 @@ module Gitlab
favicon.ico favicon.ico
files files
groups groups
header_logo_dark.png
header_logo_light.png
health_check health_check
help help
import import
...@@ -185,10 +183,6 @@ module Gitlab ...@@ -185,10 +183,6 @@ module Gitlab
@full_project_git_path_regex ||= %r{\A\/?(?<namespace_path>#{full_namespace_route_regex})\/(?<project_path>#{project_route_regex})\.git\z} @full_project_git_path_regex ||= %r{\A\/?(?<namespace_path>#{full_namespace_route_regex})\/(?<project_path>#{project_route_regex})\.git\z}
end end
def full_namespace_format_regex
@namespace_format_regex ||= /A#{FULL_NAMESPACE_FORMAT_REGEX}\z/.freeze
end
def namespace_format_regex def namespace_format_regex
@namespace_format_regex ||= /\A#{NAMESPACE_FORMAT_REGEX}\z/.freeze @namespace_format_regex ||= /\A#{NAMESPACE_FORMAT_REGEX}\z/.freeze
end 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