merci_staff.install in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2
Same filename and directory in other branches
File
modules/merci_staff/merci_staff.installView source
<?php
/**
* @file
*/
function merci_staff_update_7001() {
db_query("UPDATE {system} SET weight = 10 WHERE name = 'merci_staff'");
return array(
array(
'success' => TRUE,
'query' => 'Should only be doing db updates. But I am doing a lot more.',
),
);
}
/**
* Implementation of hook_install().
*/
function merci_staff_install() {
db_query("UPDATE {system} SET weight = 10 WHERE name = 'merci_staff'");
}
Functions
Name | Description |
---|---|
merci_staff_install | Implementation of hook_install(). |
merci_staff_update_7001 | @file |