function flag_node_type in Flag 6.2
Same name and namespace in other branches
- 5 flag.module \flag_node_type()
- 6 flag.module \flag_node_type()
Implementation of hook_node_type().
File
- ./
flag.module, line 589 - The Flag module.
Code
function flag_node_type($op, $info) {
switch ($op) {
case 'delete':
// Remove entry from flaggable content types.
db_query("DELETE FROM {flag_types} WHERE type = '%s'", $info->type);
break;
}
}