diff --git a/core/modules/update/lib/Drupal/update/UpdateFetcher.php b/core/modules/update/lib/Drupal/update/UpdateFetcher.php index ff4cab7..a27b3ca 100644 --- a/core/modules/update/lib/Drupal/update/UpdateFetcher.php +++ b/core/modules/update/lib/Drupal/update/UpdateFetcher.php @@ -9,6 +9,9 @@ use Drupal\Core\Config\ConfigFactory; +/** + * Builds URL's to fetch module update information. + */ class UpdateFetcher { /** diff --git a/core/modules/update/update.fetch.inc b/core/modules/update/update.fetch.inc index 7536bec..6f79f61 100644 --- a/core/modules/update/update.fetch.inc +++ b/core/modules/update/update.fetch.inc @@ -5,7 +5,6 @@ * Code required only when fetching information about available updates. */ -use Drupal\update\UpdateFetcher; use Guzzle\Http\Exception\RequestException; use Drupal\Component\Utility\Crypt; diff --git a/core/modules/update/update.services.yml b/core/modules/update/update.services.yml index 56a78db..849bdae 100644 --- a/core/modules/update/update.services.yml +++ b/core/modules/update/update.services.yml @@ -1,4 +1,4 @@ services: update_fetcher: - class: Drupal\update\UpdateFetcherDrupal\views\Plugin\ViewsPluginManager + class: Drupal\update\UpdateFetcher arguments: ['@config.factory']