Commit 4ab31d834eb9ebe08c11dfc30d87ea1a3c16dd9a
1 parent
4e878ad9
Exists in
master
and in
4 other branches
Unused http_url member in project & gollum_wiki
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
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 | ... | ... |