Skip to content

Commit

Permalink
We don’t appear to use silence_warnings anymore, #3474
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed May 15, 2017
1 parent e2f588d commit 73448e2
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/sidekiq/core_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,3 @@ def constantize
end
end if !"".respond_to?(:constantize)
end


begin
require 'active_support/core_ext/kernel/reporting'
rescue LoadError
module Kernel
module_function
def silence_warnings
old_verbose, $VERBOSE = $VERBOSE, nil
yield
ensure
$VERBOSE = old_verbose
end
end
end

0 comments on commit 73448e2

Please sign in to comment.