Fixed Deprecated cache provider check uses class of interface

Xon

Well-known member
Affected version
2.3.0 Beta 1
XF\CacheFactory checks if the provider inherits from \Symfony\Component\Cache\Adapter\AbstractAdapter instead of Symfony\Component\Cache\Adapter\AdapterInterface.

Doctrine\Common\Cache\CacheProvider only expects a AdapterInterface too.

Is this intended?
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Beta 2).

Change log:
Use Symfony cache adapter interface to type-check cache adapters
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom