Skip to content
Browse files

Removed deprecated Spree::Zone#in_zone?

  • Loading branch information...
1 parent 722938e commit 3d86cee12688b6764e939365331c5c2fefa4456a @joneslee85 joneslee85 committed with Mar 11, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 core/app/models/spree/zone.rb
View
7 core/app/models/spree/zone.rb
@@ -28,13 +28,6 @@ def kind=(value)
# do nothing - just here to satisfy the form
end
- # TODO: Remove this method after 1.0
- # alias to the new include? method
- def in_zone?(address)
- ActiveSupport::Deprecation.warn '#in_zone? is deprecated and will be removed in Spree > 1.0. Use #include? instead.'
- include?(address)
- end
-
def include?(address)
return false unless address

0 comments on commit 3d86cee

Please sign in to comment.
Something went wrong with that request. Please try again.