On further consideration, it's probably a better idea to fire off an "event" to let plugins clear their caches, rather than a local/lib.php function.
https://wiki.mahara.org/wiki/Developer_Area/Events_API -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1470708 Title: Add a "clear caches" admin script Status in Mahara: Confirmed Bug description: Since we've started cacheing more things in Mahara (like the main navigation menu: Bug 1467368), we should add an admin script that allows you to clear and re-populate all of Mahara's caches. It should hit all the hard-coded system caches (the navigation menu, maybe the iframe regex, the Dwoo caches, bump the $CFG->cacheversion, etc). And maybe also hit a /local/lib.php method to allow for third- party cacheing systems. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1470708/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

