XF 1.5 Manually update notices in the database

mmcguire

Member
I want to use the Notices System to alert my users of issues automatically. My forum is for a small town and we have a creek that floods often. I have written a script to automatically pull the creek level. I have an alert that I want to have either active or inactive. When I manually change the active status the UI does not change.

Code:
update xf_notice set active = 0 where notice_id = 3;

I assume this value is cached. Is there a way I can systematically refresh the cache?
 
The script already does what I need to do. I was hoping to just refresh the notices cache, but if I need to figure out the data writer to do it I guess I will go that route. I am a DBA with no PHP knowledge. :)
 
Back
Top Bottom