function date_update_7002 in Date 7.3
Same name and namespace in other branches
- 7.2 date.install \date_update_7002()
Add a notification about the new Date All Day module, and enable it.
File
- ./
date.install, line 184 - Install, update and uninstall functions for the Date module.
Code
function date_update_7002() {
drupal_set_message(t("The <em>All Day</em> functionality has been moved into a separate module. This new module provides the option to add an <em>All Day</em> checkbox to toggle time on and off for date fields. It also contains the theme that displays the <em>All Day</em> text on fields that have no time. For consistency with prior code, it has been automatically enabled. If you don't want the <em>All Day</em> functionality you can disable this module."));
module_enable(array(
'date_all_day',
));
}