You are here

function calendar_update_5200 in Calendar 5.2

File

./calendar.install, line 114
Install File

Code

function calendar_update_5200() {
  $ret = array();
  module_enable(array(
    'date_api',
  ));
  if (version_compare(PHP_VERSION, '5.2', '<')) {
    module_enable(array(
      'date_php4',
    ));
  }
  module_enable(array(
    'date_timezone',
  ));
  return $ret;
}