From 23241c181c0becdff17365aa49f80c05210f8b16 Mon Sep 17 00:00:00 2001 From: Ralf Seidler Date: Sat, 6 Sep 2014 11:46:14 +0200 Subject: Fixed houndci complaining over too long lines --- lib/gitlab/project_search_results.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/gitlab/project_search_results.rb b/lib/gitlab/project_search_results.rb index 5d959dfe0a5..736c22ecc77 100644 --- a/lib/gitlab/project_search_results.rb +++ b/lib/gitlab/project_search_results.rb @@ -22,7 +22,8 @@ module Gitlab end def total_count - @total_count ||= issues_count + merge_requests_count + blobs_count + notes_count + wiki_blobs_count + @total_count ||= issues_count + merge_requests_count + blobs_count + + notes_count + wiki_blobs_count end def blobs_count @@ -51,7 +52,8 @@ module Gitlab if !project.wiki_enabled? [] else - Repository.new(ProjectWiki.new(project).path_with_namespace).search_files(query) + Repository.new(ProjectWiki.new(project).path_with_namespace). + search_files(query) end end -- cgit v1.2.1