date_copy.install in Date 6
Same filename and directory in other branches
File
date_copy/date_copy.installView 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
Name | Description |
---|---|
date_copy_install | Implementation of hook_install(). |
date_copy_update_5000 | Implementation of hook_update(). |