updated to take advantage of new hook

this hook in hotaru for clearing cache will only work from Hotaru CMS v.1.5.1