summaryrefslogtreecommitdiff
path: root/modules/update/update.fetch.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/update/update.fetch.inc')
-rw-r--r--modules/update/update.fetch.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/update/update.fetch.inc b/modules/update/update.fetch.inc
index a3af87f7b..7a3a9765e 100644
--- a/modules/update/update.fetch.inc
+++ b/modules/update/update.fetch.inc
@@ -28,9 +28,7 @@ function _update_refresh() {
$available = array();
$data = array();
- $site_key = '';
- $drupal_private_key = variable_get('drupal_private_key', '');
- $site_key = md5($base_url . $drupal_private_key);
+ $site_key = md5($base_url . drupal_get_private_key());
$projects = update_get_projects();
foreach ($projects as $key => $project) {