1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

We don’t appear to use silence_warnings anymore, #3474

This commit is contained in:
Mike Perham 2017-05-12 21:08:21 -07:00
parent e2f588d8bd
commit 73448e2e5f

View file

@ -127,18 +127,3 @@ rescue LoadError
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