Permalink
Browse files

callback sequence is no longer used

  • Loading branch information...
1 parent 6514ee9 commit a50088a4cc4c0575c7fffdf10e0fc3a773485f03 @tenderlove tenderlove committed May 9, 2013
Showing with 0 additions and 6 deletions.
  1. +0 −6 activesupport/lib/active_support/callbacks.rb
@@ -89,8 +89,6 @@ def halted_callback_hook(filter)
end
class Callback #:nodoc:#
- @@_callback_sequence = 0
-
class Basic < Callback
end
@@ -150,10 +148,6 @@ def name
chain.name
end
- def next_id
- @@_callback_sequence += 1
- end
-
def matches?(_kind, _filter)
@kind == _kind && filter == _filter
end

0 comments on commit a50088a

Please sign in to comment.