diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-29 11:45:07 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-29 11:45:07 -0200 |
commit | 131cadf3b5a02684df7707c029f0e23a3a83f8f1 (patch) | |
tree | e485cfc5b5d8cfea55435a521b73587fdf4cfe69 | |
parent | 0322b6a835297741c47200aab3f1364d78d4aaa3 (diff) | |
download | rails-131cadf3b5a02684df7707c029f0e23a3a83f8f1.tar.gz rails-131cadf3b5a02684df7707c029f0e23a3a83f8f1.tar.bz2 rails-131cadf3b5a02684df7707c029f0e23a3a83f8f1.zip |
Remove unused variable
This method is not using the block variable directly since it is calling
yield
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb index f97823d1a4..e3270e734f 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb @@ -283,7 +283,7 @@ module ActiveRecord # REFERENTIAL INTEGRITY ==================================== - def disable_referential_integrity(&block) #:nodoc: + def disable_referential_integrity #:nodoc: old = select_value("SELECT @@FOREIGN_KEY_CHECKS") begin |