You are here

function date_update_7003 in Date 7.3

Same name and namespace in other branches
  1. 7.2 date.install \date_update_7003()

Adds a notification about the new Date Repeat Field module, and enable it.

File

./date.install, line 192
Install, update and uninstall functions for the Date module.

Code

function date_update_7003() {
  drupal_set_message(t("The <em>Date Repeat</em> integration for Date fields is being moved into a separate module. For consistency with prior code, it has been automatically enabled if the Date Repeat API module is enabled. If you don't use <em>Date Repeat</em> functionality in your fields, you can disable this module."));
  if (module_exists('date_repeat')) {
    module_enable(array(
      'date_repeat_field',
    ));
  }
}