Updates the database cache of node types.
All new module-defined node types are saved to the database via a call to node_type_save(), and obsolete ones are deleted via a call to node_type_delete(). See _node_types_build() for an explanation of the new and obsolete types.
function node_types_rebuild() {
_node_types_build(TRUE);
}