function drupal_load_updates
7.x install.inc | drupal_load_updates() |
6.x install.inc | drupal_load_updates() |
Loads .install files for installed modules to initialize the update system.
3 calls to drupal_load_updates()
- system_status in drupal-7.x/
modules/ system/ system.admin.inc - Menu callback: displays the site status report. Can also be used as a pure check.
- update.php in drupal-7.x/
update.php - Administrative page for handling updates from one Drupal version to another.
- update_fix_d7_install_profile in drupal-7.x/
includes/ update.inc - Register the currently installed profile in the system table.
File
- drupal-7.x/
includes/ install.inc, line 81 - API functions for installing modules and themes.
Code
function drupal_load_updates() {
foreach (drupal_get_installed_schema_version(NULL, FALSE, TRUE) as $module => $schema_version) {
if ($schema_version > -1) {
module_load_install($module);
}
}
}