function flippy_uninstall in Flippy 7
Same name and namespace in other branches
- 8 flippy.install \flippy_uninstall()
Remove the internal caching feature, as Views now supports caching of query results.
File
- ./
flippy.install, line 11 - Flippy install file.
Code
function flippy_uninstall() {
// We should delete variables and stuff and things.
db_delete('variable')
->condition('name', db_like('flippy_') . '%', 'LIKE')
->execute();
cache_clear_all('variables', 'cache_bootstrap');
}