update.module

  1. drupal
    1. drupal6
    2. drupal7

Version 1.34 (checked in on 2009/05/24 at 17:39:35 by dries)

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.

Funktionen & Methoden

NameBeschreibung
update_cache_clear_submitHelper function for use as a form submit callback.
update_cronImplementation of hook_cron().
update_flush_cachesImplementation of hook_flush_caches().
update_form_system_modules_alterImplementation of hook_form_FORM_ID_alter().
update_form_system_themes_form_alterImplementation of hook_form_FORM_ID_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_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().
update_themeImplementation of the hook_theme() registry.
_update_cache_clearInvalidates cached data relating to update status.
_update_cache_getRetrieve data from the private update status cache table.
_update_cache_setStore data in the private update status cache table.
_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.
_update_requirement_checkPrivate helper method to fill in the requirements array.

Konstanten

NameBeschreibung
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.

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen