You are here

commons_notify.install in Drupal Commons 7.3

File

modules/commons/commons_notify/commons_notify.install
View source
<?php

/**
 * Ensure that the new notifications fields are reverted.
 */
function commons_notify_update_7301() {
  features_revert(array(
    'commons_notify' => array(
      'field_base',
      'field_instance',
    ),
  ));
  return array();
}

/**
 * Ensure that users' email subscription preferences are honored.
 */
function commons_notify_update_7302() {
  features_revert(array(
    'commons_notify' => array(
      'variable',
    ),
  ));
  return array();
}

/**
 * Correct the user notification settings URL.
 */
function commons_notify_update_7303() {
  features_revert(array(
    'commons_notify' => array(
      'message_type',
    ),
  ));
  return array();
}

/**
 * Add message notify for comments that have no group.
 */
function commons_notify_update_7304() {
  features_revert(array(
    'commons_notify' => array(
      'message_type',
    ),
  ));
  return array();
}

Functions

Namesort descending Description
commons_notify_update_7301 Ensure that the new notifications fields are reverted.
commons_notify_update_7302 Ensure that users' email subscription preferences are honored.
commons_notify_update_7303 Correct the user notification settings URL.
commons_notify_update_7304 Add message notify for comments that have no group.