function rave_alerts_install in RAVE Alerts 7
Same name and namespace in other branches
- 1.0.x rave_alerts.install \rave_alerts_install()
Implements hook_install().
File
- ./
rave_alerts.install, line 10
Code
function rave_alerts_install() {
// set sane defaults
variable_set('rave_alerts_rss_url', 'http://www.getrave.com/rss/cuboulder/channel1');
variable_set('rave_alerts_deafult_read_more_url', 'http://alerts.colorado.edu');
variable_set('rave_alerts_check_enable', 0);
variable_set('rave_alerts_display', 0);
variable_set('rave_alerts_network_fail_message', 'Network Failure: Please go directly to http://alerts.colorado.edu for more information.');
}