You are here

function date_timezone_enable in Date 5.2

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

File

date_timezone/date_timezone.install, line 11
Installation 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',
    ));
  }
}