Closed ghost closed 6 years ago
The function and class mentioned above seems to be specifically designed for ranks. https://area51.phpbb.com/docs/code/3.2.x/classes.html seems to be the class used for managing caching data objects. It can also be constructed with $this->cache = $phpbb_container->get('cache');
This document https://wiki.phpbb.com/Cache describes that both data objects and sql result sets can be used for caching.
I don't plan to continue working on this in the next time unless users experience issues related to this.
Adding and updating badges replicates how ranks are handled which are cached by
obtain_ranks()
within the classservice
inservice.php
. This can probably be replicated too with a similar function that extends that class. Probably desirable for showing badges in the profile information of the post row.