diff --git a/core/modules/update/update.install b/core/modules/update/update.install index e810129..1f3f81e 100644 --- a/core/modules/update/update.install +++ b/core/modules/update/update.install @@ -112,12 +112,7 @@ function _update_requirement_check($project, $type) { // _update_message_text(), and format the two translated strings together in // a single paragraph. $requirement['description'][] = ['#markup' => _update_message_text($type, $status)]; - if (_update_manager_access()) { - $requirement['description'][] = ['#prefix' => ' ', '#markup' => t('See the available updates page for more information and to install your missing updates.', [':available_updates' => \Drupal::url('update.report_update')])]; - } - else { - $requirement['description'][] = ['#prefix' => ' ', '#markup' => t('See the available updates page for more information.', [':available_updates' => \Drupal::url('update.status')])]; - } + $requirement['description'][] = ['#prefix' => ' ', '#markup' => t('See the available updates page for more information.', [':available_updates' => \Drupal::url('update.status')])]; } switch ($status) { case UPDATE_NOT_SECURE: diff --git a/core/modules/update/update.module b/core/modules/update/update.module index f45b589..fc5c3e7 100644 --- a/core/modules/update/update.module +++ b/core/modules/update/update.module @@ -523,10 +523,10 @@ function _update_message_text($msg_type, $msg_reason, $langcode = NULL) { case UPDATE_NOT_FETCHED: case UPDATE_FETCH_PENDING: if ($msg_type == 'core') { - $text = t('There was a problem checking available updates for Drupal.', array(':update-report' => \Drupal::url('update.status')), array('langcode' => $langcode)); + $text = t('There was a problem checking available updates for Drupal.', array(), array('langcode' => $langcode)); } else { - $text = t('There was a problem checking available updates for your modules or themes.', array(':update-report' => \Drupal::url('update.status')), array('langcode' => $langcode)); + $text = t('There was a problem checking available updates for your modules or themes.', array(), array('langcode' => $langcode)); } break; }