diff --git a/core/modules/update/lib/Drupal/update/UpdateFetcher.php b/core/modules/update/lib/Drupal/update/UpdateFetcher.php index 9a31095..6873045 100644 --- a/core/modules/update/lib/Drupal/update/UpdateFetcher.php +++ b/core/modules/update/lib/Drupal/update/UpdateFetcher.php @@ -9,6 +9,7 @@ use Drupal\Core\Config\ConfigFactory; use Guzzle\Http\Client; +use Guzzle\Http\Exception\RequestException; /** * Fetches project information from remote locations. diff --git a/core/modules/update/update.fetch.inc b/core/modules/update/update.fetch.inc index 13953f3..d52f66a 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 Guzzle\Http\Exception\RequestException; use Drupal\Component\Utility\Crypt; /**