Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 6

update.module

Version

1.17.2.1 (checked in on 2008/09/23 at 10:19:02 by goba)

Description

The "Update status" module checks for available updates of Drupal core and any installed contributed modules and themes. It warns site administrators if newer releases are available via the system status report (admin/reports/status), the module and theme pages, and optionally via email.

Constants

Namesort iconDescription
UPDATE_CURRENTProject is up to date.
UPDATE_DEFAULT_URLURL to check for updates, if a given project doesn't define its own.
UPDATE_NOT_CHECKEDProject's status cannot be checked.
UPDATE_NOT_CURRENTProject has a new release available, but it is not a security release.
UPDATE_NOT_SECUREProject is missing security update(s).
UPDATE_NOT_SUPPORTEDCurrent release is no longer supported by the project maintainer.
UPDATE_REVOKEDCurrent release has been unpublished and is no longer available.
UPDATE_UNKNOWNNo available update data was found for project.

Functions

Namesort iconDescription
update_cronImplementation of hook_cron().
update_flush_cachesImplementation of hook_flush_caches().
update_form_alterImplementation of hook_form_alter().
update_get_availableInternal helper to try to get the update information from the cache if possible, and to refresh the cache when necessary.
update_helpImplementation of hook_help().
update_invalidate_cacheInvalidates any cached data relating to update status.
update_mailImplementation of hook_mail().
update_menuImplementation of hook_menu().
update_refreshWrapper to load the include file and then refresh the release data.
update_requirementsImplementation of hook_requirements. See also_update_message_text()
update_themeImplementation of the hook_theme() registry.
_update_message_textHelper function to return the appropriate message text when the site is out of date or missing a security update.
_update_no_dataPrints a warning message when there is no data about available updates.
_update_project_status_sortPrivate sort function to order projects based on their status. See alsoupdate_requirements()
_update_requirement_checkPrivate helper method to fill in the requirements array.