update.inc
Version 1.22 (checked in on 2009/11/10 at 22:06:09 by dries)
Drupal database update API.
This file contains functions to perform database updates for a Drupal installation. It is included and used extensively by update.php.
Functions
| Name | Description |
|---|---|
| update_batch | Start the database update batch process. |
| update_check_incompatibility | Helper function to test compatibility of a module or theme. |
| update_do_one | Perform one update and store the results which will later be displayed on the finished page. |
| update_finished | Finish the update process and store results for eventual display. |
| update_fix_compatibility | Disable anything in the {system} table that is not compatible with the current version of Drupal core. |
| update_fix_d7_install_profile | Register the currently installed profile in the system table. |
| update_fix_d7_requirements | Perform Drupal 6.x to 7.x updates that are required for update.php to function properly. |
| update_get_update_list | Return a list of all the pending database updates. |
| update_parse_db_url | Parse database connection URLs (in the old, pre-Drupal 7 format) and return them as an array of database connection information. |
| update_prepare_d7_bootstrap | Users who still have a Drupal 6 database (and are in the process of updating to Drupal 7) need extra help before a full bootstrap can be achieved. This function does the necessary preliminary work that allows the bootstrap to be successful. |
