Merge pull request #5741 from archiloque/unused_http_url

Unused http_url member in project & gollum_wiki
This commit is contained in:
Dmitriy Zaporozhets 2013-12-04 02:51:14 -08:00
commit 88bab75aa4
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class GollumWiki
end
def http_url_to_repo
http_url = [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
[Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
end
# Returns the Gollum::Wiki object.

View file

@ -392,7 +392,7 @@ class Project < ActiveRecord::Base
end
def http_url_to_repo
http_url = [Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
[Gitlab.config.gitlab.url, "/", path_with_namespace, ".git"].join('')
end
# Check if current branch name is marked as protected in the system