summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-06-10 04:29:15 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-06-10 04:29:15 +0000
commit06babbec7e788f2f3684f257ac817b424aedbf46 (patch)
treee2ac4ddcadfc164a720a9a055965443c01711367 /app/controllers
parent7f4767418befd064cfeb65b034eeeb2832a3c264 (diff)
downloadredmine-06babbec7e788f2f3684f257ac817b424aedbf46.tar.gz
redmine-06babbec7e788f2f3684f257ac817b424aedbf46.zip
remove is_binary_data? from String (#25563)
git-svn-id: http://svn.redmine.org/redmine/trunk@16644 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/repositories_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index cbe38210e..2a7642772 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -172,7 +172,7 @@ class RepositoriesController < ApplicationController
return true if Redmine::MimeType.is_type?('text', path)
# Ruby 1.8.6 has a bug of integer divisions.
# http://apidock.com/ruby/v1_8_6_287/String/is_binary_data%3F
- return false if ent.is_binary_data?
+ return false if Redmine::Scm::Adapters::ScmData.binary?(ent)
true
end
private :is_entry_text_data?