You are here

date_copy.install in Date 6

Same filename and directory in other branches
  1. 5.2 date_copy/date_copy.install

File

date_copy/date_copy.install
View source
<?php

/**
 * Implementation of hook_install().
 */
function date_copy_install() {

  // Make sure this module loads after date_api.
  db_query("UPDATE {system} SET weight = 1 WHERE name = 'date_copy'");
}

/**
 * Implementation of hook_update().
 */
function date_copy_update_5000() {
  $ret = array();
  $ret[] = update_sql("UPDATE {system} SET weight = 1 WHERE name = 'date_copy'");
  return $ret;
}

Functions

Namesort descending Description
date_copy_install Implementation of hook_install().
date_copy_update_5000 Implementation of hook_update().