drupal_load_updates

Versions
5 – 7
drupal_load_updates()

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

▾ 1 function calls 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.

Code

includes/install.inc, line 23

<?php
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);
    }
  }
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.