I am currently working on enhancing the functionality of statuses in IPS. I have a problem with the data being cached inside the variables of IPS.
Here's what it looks like (don't mind language).
The number 4 is the cached count of replies in status ( outputted by {$status->replies} )
The number 6 is the real count(*) taken out from MySQL database by simple SELECT query.
The question is: how can I refresh the cached count to avoid making stupid queries that will result in code redundancy?
Thanks in advance.