function drupal_load_updates

Loads .install files for installed modules to initialize the update system.

2 calls to drupal_load_updates()
SystemManager::listRequirements in drupal/core/modules/system/lib/Drupal/system/SystemManager.php
Displays the site status report. Can also be used as a pure check.
update.php in drupal/core/update.php
Administrative page for handling updates from one Drupal version to another.

File

drupal/core/includes/install.inc, line 78
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);
    }
  }
}