Rescans all enabled modules and rebuilds the registry.
Rescans all code in modules or includes directories, storing the location of each interface or class in the database.
function registry_rebuild() {
system_rebuild_module_data();
registry_update();
}