Community Documentation

registry_update

7 bootstrap.inc registry_update()
8 bootstrap.inc registry_update()

Updates the registry based on the latest files listed in the database.

This function should be used when system_rebuild_module_data() does not need to be called, because it is already known that the list of files in the {system} table matches those in the file system.

See also

registry_rebuild()

Related topics

▾ 3 functions call registry_update()

module_disable in includes/module.inc
Disable a given set of modules.
module_enable in includes/module.inc
Enables or installs a given list of modules.
registry_rebuild in includes/bootstrap.inc
Rescans all enabled modules and rebuilds the registry.

File

includes/bootstrap.inc, line 3074
Functions that need to be loaded on every Drupal request.

Code

<?php
function registry_update() {
  require_once DRUPAL_ROOT . '/includes/registry.inc';
  _registry_update();
}
?>
Login or register to post comments