Permalink
Browse files

Removed the Rails20 callback compatibility module, since we're droppi…

…ng 2.0.* support
  • Loading branch information...
jyurek committed May 18, 2010
1 parent 7c3dd0f commit aa93daec50c35a7d8aa861e6ba5c980fdb4e618a
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/paperclip.rb
View
@@ -120,8 +120,6 @@ def included base #:nodoc:
base.extend ClassMethods
if base.respond_to?("set_callback")
base.send :include, Paperclip::CallbackCompatability::Rails3
- elsif !base.respond_to?("define_callbacks")
- base.send :include, Paperclip::CallbackCompatability::Rails20
else
base.send :include, Paperclip::CallbackCompatability::Rails21
end

0 comments on commit aa93dae

Please sign in to comment.