summaryrefslogtreecommitdiff
path: root/app/models/namespace.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-03-31 09:30:34 +0200
committerDouwe Maan <douwe@gitlab.com>2015-03-31 09:30:34 +0200
commit175f7f68a6c7857523f1d18b184caa8b84fe0ea3 (patch)
treea9f61e6a151b57c788f9b202e7fb0999fc99a292 /app/models/namespace.rb
parent1d829ca15102b62fe2eab1287d4c33f1add9d239 (diff)
downloadgitlab-ce-175f7f68a6c7857523f1d18b184caa8b84fe0ea3.tar.gz
Move files for moved namespaces.
Diffstat (limited to 'app/models/namespace.rb')
-rw-r--r--app/models/namespace.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/namespace.rb b/app/models/namespace.rb
index e2bcd25be21..dd74165f887 100644
--- a/app/models/namespace.rb
+++ b/app/models/namespace.rb
@@ -58,10 +58,6 @@ class Namespace < ActiveRecord::Base
where("name LIKE :query OR path LIKE :query", query: "%#{query}%")
end
- def global_id
- 'GLN'
- end
-
def clean_path(path)
path.gsub!(/@.*\z/, "")
path.gsub!(/\.git\z/, "")