function hosting_package_insert in Hostmaster (Aegir) 6
Implementation of hook_insert().
1 call to hosting_package_insert()
- hosting_package_update in modules/
hosting/ package/ hosting_package.module - Implementation of hook_update().
File
- modules/
hosting/ package/ hosting_package.module, line 256
Code
function hosting_package_insert($node) {
db_query("INSERT INTO {hosting_package} (vid, nid, package_type, short_name, old_short_name, description ) VALUES (%d, %d, '%s', '%s', '%s', '%s')", $node->vid, $node->nid, $node->package_type, $node->short_name, $node->old_short_name, $node->description);
}