You are here

function date_api_install in Date 7

Same name and namespace in other branches
  1. 8 date_api/date_api.install \date_api_install()
  2. 5.2 date_api.install \date_api_install()
  3. 6.2 date_api.install \date_api_install()
  4. 6 date_api.install \date_api_install()
  5. 7.3 date_api/date_api.install \date_api_install()
  6. 7.2 date_api/date_api.install \date_api_install()

Implementation of hook_install().

File

date_api/date_api.install, line 30
Install, update and uninstall functions for the date_api module.

Code

function date_api_install() {

  // date_api_set_variables can install date_timezone and date_php4.  The
  // date_timezone_install() function does a module_enable('date_api').  This
  // means that date_api_enable() can be called before date_api_install()
  // finishes!  So the date_api schema needs to be installed before this line!
  date_api_set_variables();
}