rss_permissions.install in RSS Permissions 6
Same filename and directory in other branches
File
rss_permissions.installView source
<?php
/*
* @file
* Install, update and uninstall functions for the RSS permissions module.
*/
/**
* Implementation of hook_install().
*/
function rss_permissions_install() {
variable_set('rss_permissions_feed_icon_theme', 'theme_feed_icon');
variable_set('rss_permissions_disable_all', FALSE);
db_query("UPDATE {system} SET weight = 15 WHERE name = 'rss_permissions' AND type = 'module'");
}
function rss_permissions_update_6001() {
db_query("UPDATE {system} SET weight = 15 WHERE name = 'rss_permissions' AND type = 'module'");
}
/**
* Implementation of hook_uninstall().
*/
function rss_permissions_uninstall() {
variable_del('rss_permissions_feed_icon_theme');
variable_del('rss_permissions_disable_all');
}
Functions
Name![]() |
Description |
---|---|
rss_permissions_install | Implementation of hook_install(). |
rss_permissions_uninstall | Implementation of hook_uninstall(). |
rss_permissions_update_6001 |