Fixed MemberStat results cache behavior

itslegend

Member
Affected version
2.1.*
Hello!

I found that MemberStat doesn't cache previous result and get new query to DB on call the getResults method.
This thing you can see on the notable members page (/members/):
XF\Pub\Controller\Member.php - 114, 127
1581100404022.webp
 
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.1.8).

Change log:
Only fetch member stat results once on the overview page
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom