Commit 88bab75aa43b6e1abc71bade2a350b0aa1abc722

Authored by Dmitriy Zaporozhets
2 parents 48e27567 4ab31d83

Merge pull request #5741 from archiloque/unused_http_url

Unused http_url member in project & gollum_wiki
app/models/gollum_wiki.rb
... ... @@ -33,7 +33,7 @@ class GollumWiki
33 33 end
34 34  
35 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 37 end
38 38  
39 39 # Returns the Gollum::Wiki object.
... ...
app/models/project.rb
... ... @@ -392,7 +392,7 @@ class Project < ActiveRecord::Base
392 392 end
393 393  
394 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 396 end
397 397  
398 398 # Check if current branch name is marked as protected in the system
... ...