commons_status_streams.install in Drupal Commons 6.2
File
modules/features/commons_status_streams/commons_status_streams.installView source
<?php
/**
* Implementation of hook_install().
* Status streams provide a digest that deprecates the digest functionality
* by Notifications as well as the need to provide notifications on comments
* by default.
*/
function commons_status_streams_install() {
db_query("UPDATE {blocks} SET title = '<none>' WHERE module = 'facebook_status' AND delta = 'facebook_status'");
}
/**
* Implementation of hook_uninstall().
*/
function commons_status_streams_uninstall() {
variable_del('commons_status_streams_auth_frontpage');
}
/*
* Set the group status stream context following updates to the group
* landing pages (http://drupal.org/node/1419150).
*/
function commons_status_streams_update_6001() {
commons_status_streams_setup_group_context();
return array();
}
Functions
Name | Description |
---|---|
commons_status_streams_install | Implementation of hook_install(). Status streams provide a digest that deprecates the digest functionality by Notifications as well as the need to provide notifications on comments by default. |
commons_status_streams_uninstall | Implementation of hook_uninstall(). |
commons_status_streams_update_6001 |