提交 1644f123 编写于 作者: D David Heinemeier Hansson

Merge pull request #7902 from josh/fix-bug-in-as-cache-upgrade

Fix AS::Cache version upgrading bug
......@@ -644,7 +644,7 @@ def convert_version_3_entry!
@c = @compressed
remove_instance_variable(:@compressed)
end
if defined?(@expires_in) && defined?(@created_at)
if defined?(@expires_in) && defined?(@created_at) && @expires_in && @created_at
@x = (@created_at + @expires_in).to_i
remove_instance_variable(:@created_at)
remove_instance_variable(:@expires_in)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册