_update_manager_unique_identifier

7 update.module _update_manager_unique_identifier()
8 update.module _update_manager_unique_identifier()

Return a short unique identifier for this Drupal installation.

Return value

An eight character string uniquely identifying this Drupal installation.

2 calls to _update_manager_unique_identifier()

File

modules/update/update.module, line 871
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…

Code

function _update_manager_unique_identifier() {
  $id = &drupal_static(__FUNCTION__, '');
  if (empty($id)) {
    $id = substr(hash('sha256', drupal_get_hash_salt()), 0, 8);
  }
  return $id;
}
Login or register to post comments