You are here

function drupal_load_updates in Drupal 6

Same name and namespace in other branches
  1. 8 core/includes/install.inc \drupal_load_updates()
  2. 5 includes/install.inc \drupal_load_updates()
  3. 7 includes/install.inc \drupal_load_updates()
  4. 9 core/includes/install.inc \drupal_load_updates()
  5. 10 core/includes/install.inc \drupal_load_updates()

Initialize the update system by loading all installed module's .install files.

2 calls to drupal_load_updates()
system_status in modules/system/system.admin.inc
Menu callback: displays the site status report. Can also be used as a pure check.
update.php in ./update.php
Administrative page for handling updates from one Drupal version to another.

File

includes/install.inc, line 23

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);
    }
  }
}