You are here

function date_timezone_install in Date 5.2

Same name and namespace in other branches
  1. 6.2 date_timezone/date_timezone.install \date_timezone_install()

File

date_timezone/date_timezone.install, line 2
Installation file for Date Timezone

Code

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