splitbrain/dokuwiki — pull request #106 by nextghost (2012-06-14 14:49:57+00:00)
Title: Cache bugfix and a slight improvement for plugins with custom actions

Hi,
I've fixed a bug in cache system that was driving me nuts during development of my own plugin. Basically, if you access cache during save action before the save happens, you may end up regenerating the cache from old data and the cache will be treated as fresh since it has the same age as the new saved data. This single-character patch fixes that.

I've also split act_clean() into two functions so that plugins may call act_clean() even when they define custom actions. This helps when you trigger the action using a do[action_name]-type button.