Commit 4ab31d834eb9ebe08c11dfc30d87ea1a3c16dd9a

Authored by Julien Kirch
1 parent 4e878ad9

Unused http_url member in project & gollum_wiki

app/models/gollum_wiki.rb
@@ -33,7 +33,7 @@ class GollumWiki @@ -33,7 +33,7 @@ class GollumWiki
33 end 33 end
34 34
35 def http_url_to_repo 35 def http_url_to_repo
36 - http_url = [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('') 36 + [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
37 end 37 end
38 38
39 # Returns the Gollum::Wiki object. 39 # Returns the Gollum::Wiki object.
app/models/project.rb
@@ -392,7 +392,7 @@ class Project < ActiveRecord::Base @@ -392,7 +392,7 @@ class Project < ActiveRecord::Base
392 end 392 end
393 393
394 def http_url_to_repo 394 def http_url_to_repo
395 - http_url = [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('') 395 + [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
396 end 396 end
397 397
398 # Check if current branch name is marked as protected in the system 398 # Check if current branch name is marked as protected in the system