summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-04-28 07:31:45 +0000
committerTim Zallmann <tzallmann@gitlab.com>2017-04-28 07:31:45 +0000
commit6dc5c32050faaa2a56c65c88cf8bd213507ada4a (patch)
treebef3265fd61060cd4dc3ba0f2b7b1663a1937a4a /lib
parent479d21d5850d9878ef292016ae7e643fdbb0b796 (diff)
parentbb7865276bb9adfe34755c3ea358e4951ec37d6f (diff)
downloadgitlab-ce-6dc5c32050faaa2a56c65c88cf8bd213507ada4a.tar.gz
Merge branch 'dm-blob-viewers' into 'master'
Refactor rich blob viewers and add Code|Rendered switch Closes #24287 See merge request !10566
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/git/blob.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gitlab/git/blob.rb b/lib/gitlab/git/blob.rb
index 98fd4e78126..e8bb9e1f805 100644
--- a/lib/gitlab/git/blob.rb
+++ b/lib/gitlab/git/blob.rb
@@ -109,10 +109,6 @@ module Gitlab
@binary.nil? ? super : @binary == true
end
- def empty?
- !data || data == ''
- end
-
def data
encode! @data
end