function community_tags_authcache_uninstall in Community Tags 6.2
Implementation of hook_uninstall().
File
- community_tags_authcache/
community_tags_authcache.install, line 23 - The install file for the community_tags_authcache module.
Code
function community_tags_authcache_uninstall() {
// Remove tag managment tab to the default ruleset.
$pagecaching = variable_get('authcache_pagecaching', array());
if (!empty($pagecaching)) {
$pagecaching[0]['pages'] = str_replace(COMMUNITY_TAGS_AUTHCACHE_NOCACHE_DEFAULT, '', $pagecaching[0]['pages']);
variable_set('authcache_pagecaching', $pagecaching);
}
drupal_set_message(t('Community Tags Authcache integration has been uninstalled.'));
}