function community_tags_authcache_install in Community Tags 6.2
Implementation of hook_install().
File
- community_tags_authcache/
community_tags_authcache.install, line 13 - The install file for the community_tags_authcache module.
Code
function community_tags_authcache_install() {
// Add tag managment tab to the default ruleset.
$pagecaching = variable_get('authcache_pagecaching', array(
array(
'option' => 0,
'pages' => AUTHCACHE_NOCACHE_DEFAULT,
'roles' => array(
DRUPAL_ANONYMOUS_RID,
),
),
));
$pagecaching[0]['pages'] .= COMMUNITY_TAGS_AUTHCACHE_NOCACHE_DEFAULT;
variable_set('authcache_pagecaching', $pagecaching);
}