A simple plugin that deletes all of the folders inside of /tmp. Only appears for SuperUser in the top menu. Useful for when you're developing new plugins to make sure you're seeing the most recent version of everything.
It does a simple check of the
$_SERVER['OS'] variable to determine which remove command to run. It was developed on windows hosting, so please test and let me know if the deletion script needs to change for linux/other hosting platforms besides apache.
Also, it doesn't take you to a page, it just clears the cache and sends you right back to where you were when you clicked the link, so if you don't get an error, that means it worked.
Keywords: clear, cache, third-party-plugin
thank you for the submission. Quick code review:
Since we moved to Github it would be great if you could publish your plugin there. This might encourage people to contribute.
Thanks for the comments/tips. I changed the language folder, removed the commented code and the _notes folder... Dreamweaver stuff, gone.
I'm in the process of adding the files to GitHub.
Code is located at [https://github.com/JohnDeery/piwik-clearcache-plugin]