From 4ab31d834eb9ebe08c11dfc30d87ea1a3c16dd9a Mon Sep 17 00:00:00 2001 From: Julien Kirch Date: Mon, 2 Dec 2013 11:13:53 +0100 Subject: [PATCH] Unused http_url member in project & gollum_wiki --- app/models/gollum_wiki.rb | 2 +- app/models/project.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/gollum_wiki.rb b/app/models/gollum_wiki.rb index 05fc2a745b..7ebaaff61c 100644 --- a/app/models/gollum_wiki.rb +++ b/app/models/gollum_wiki.rb @@ -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. diff --git a/app/models/project.rb b/app/models/project.rb index 794f9be4bd..0edc0746fb 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -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