diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-04-28 07:31:45 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-04-28 07:31:45 +0000 |
commit | 6dc5c32050faaa2a56c65c88cf8bd213507ada4a (patch) | |
tree | bef3265fd61060cd4dc3ba0f2b7b1663a1937a4a /lib/gitlab | |
parent | 479d21d5850d9878ef292016ae7e643fdbb0b796 (diff) | |
parent | bb7865276bb9adfe34755c3ea358e4951ec37d6f (diff) | |
download | gitlab-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/gitlab')
-rw-r--r-- | lib/gitlab/git/blob.rb | 4 |
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 |