function og_insert_group in Organic groups 5.2
Same name and namespace in other branches
- 5.8 og.module \og_insert_group()
- 5 og.module \og_insert_group()
- 5.3 og.module \og_insert_group()
- 5.7 og.module \og_insert_group()
- 6.2 og.module \og_insert_group()
- 6 og.module \og_insert_group()
1 call to og_insert_group()
- og_nodeapi in ./
og.module - Implementation of hook_nodeapi().
File
- ./
og.module, line 1244
Code
function og_insert_group($node) {
$sql = "INSERT INTO {og} (nid, theme, selective, description, website, register, directory, notification, language) VALUES (%d, '%s', %d, '%s', '%s', %d, %d, %d, '%s')";
db_query($sql, $node->nid, $node->theme, $node->og_selective, $node->og_description, $node->og_website, $node->og_register, $node->og_directory, $node->og_notification, $node->og_language);
}