function blogapi_uninstall in Blog API 7
Same name and namespace in other branches
- 7.2 blogapi.install \blogapi_uninstall()
Implement hook_uninstall().
File
- ./
blogapi.install, line 18 - Install, update and uninstall functions for the blogapi module.
Code
function blogapi_uninstall() {
// Remove variables
variable_del('blogapi_node_types');
variable_del('blogapi_extensions_default');
variable_del('blogapi_uploadsize_default');
variable_del('blogapi_usersize_default');
foreach (user_roles(FALSE, 'administer content with blog api') as $rid => $role) {
variable_del('blogapi_extensions_' . $rid);
variable_del('blogapi_uploadsize_' . $rid);
variable_del('blogapi_usersize_' . $rid);
}
}