Commit aa93daec by Jon Yurek

Removed the Rails20 callback compatibility module, since we're dropping 2.0.* support

parent 7c3dd0f0
...@@ -120,8 +120,6 @@ module Paperclip ...@@ -120,8 +120,6 @@ module Paperclip
base.extend ClassMethods base.extend ClassMethods
if base.respond_to?("set_callback") if base.respond_to?("set_callback")
base.send :include, Paperclip::CallbackCompatability::Rails3 base.send :include, Paperclip::CallbackCompatability::Rails3
elsif !base.respond_to?("define_callbacks")
base.send :include, Paperclip::CallbackCompatability::Rails20
else else
base.send :include, Paperclip::CallbackCompatability::Rails21 base.send :include, Paperclip::CallbackCompatability::Rails21
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment