You are here

function date_timezone_enable in Date 6.2

Same name and namespace in other branches
  1. 5.2 date_timezone/date_timezone.install \date_timezone_enable()

File

date_timezone/date_timezone.install, line 16
Install file for Date Timezone.

Code

function date_timezone_enable() {
  module_enable(array(
    'date_api',
  ));
  if (version_compare(PHP_VERSION, '5.2', '<')) {
    module_enable(array(
      'date_php4',
    ));
  }
}