diff options
author | Rubén Dávila <rdavila84@gmail.com> | 2016-01-12 20:53:54 +0300 |
---|---|---|
committer | Rubén Dávila <rdavila84@gmail.com> | 2016-01-12 20:53:54 +0300 |
commit | f1f9b5f7d388c6d7a0938229c9211beddb2fd6a2 (patch) | |
tree | 9c9097e51a5d0b30fbfeebfc472ff3cd816b7517 /lib/gitlab/diff | |
parent | c476395b4d8b78cfc7431153a144ffccbd414c61 (diff) |
Small fixes from code review. #3945
Diffstat (limited to 'lib/gitlab/diff')
-rw-r--r-- | lib/gitlab/diff/highlight.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/diff/highlight.rb b/lib/gitlab/diff/highlight.rb index 3c44abff3fb..d0137ab5f08 100644 --- a/lib/gitlab/diff/highlight.rb +++ b/lib/gitlab/diff/highlight.rb @@ -125,10 +125,6 @@ module Gitlab lines.map! { |line| " #{line}" } end end - - def submodules - @submodules ||= diff_repository.raw_repository.submodules(diff_new_ref).keys - end end end end |