diff options
author | Vladimir Andrijevik <vladimir@andrijevik.net> | 2010-01-08 13:57:14 -0800 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-28 13:57:14 -0700 |
commit | edaf92f5ab4b44e789e526dfa8b93cb370e595cf (patch) | |
tree | bf2d76c387c57d8c16d64908665faae06480f6b2 /activesupport/lib/active_support/cache | |
parent | b0967cc5cf5ce08e7fb0574692e3bb785e79973a (diff) | |
download | rails-edaf92f5ab4b44e789e526dfa8b93cb370e595cf.tar.gz rails-edaf92f5ab4b44e789e526dfa8b93cb370e595cf.tar.bz2 rails-edaf92f5ab4b44e789e526dfa8b93cb370e595cf.zip |
Drop expires argument from call to @data in MemCacheStore so it works with memcache-client and memcached gems, as advertised [#3672 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
Diffstat (limited to 'activesupport/lib/active_support/cache')
-rw-r--r-- | activesupport/lib/active_support/cache/mem_cache_store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache/mem_cache_store.rb b/activesupport/lib/active_support/cache/mem_cache_store.rb index d584c9e254..d84a62ca2d 100644 --- a/activesupport/lib/active_support/cache/mem_cache_store.rb +++ b/activesupport/lib/active_support/cache/mem_cache_store.rb @@ -91,7 +91,7 @@ module ActiveSupport def delete(key, options = nil) # :nodoc: super do - response = @data.delete(key, expires_in(options)) + response = @data.delete(key) response == Response::DELETED end rescue MemCache::MemCacheError => e |