From 7ea9648b7afc91b86812c8f89d10b8264825873a Mon Sep 17 00:00:00 2001
From: Sascha Egerer <sascha@sascha-egerer.de>
Date: Thu, 16 Feb 2017 22:20:35 +0100
Subject: [PATCH] [CLEANUP] Remove superfluous initialization of UriBuilder

The UriBuilder initialization has been added in
f5dd76ca41f70ea7ab22a2aeb1291aabefc95232 but it is not used
anywhere

Resolves: #79863
Releases: master
Change-Id: I46deb21e5466f3d068f95063034feb4da3b7f60c
Reviewed-on: https://review.typo3.org/51723
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 typo3/sysext/backend/Classes/Clipboard/Clipboard.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php
index 00ff2ae6a43a..2eb3eb5ce988 100644
--- a/typo3/sysext/backend/Classes/Clipboard/Clipboard.php
+++ b/typo3/sysext/backend/Classes/Clipboard/Clipboard.php
@@ -24,7 +24,6 @@ use TYPO3\CMS\Core\Type\Bitmask\JsConfirmation;
 use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Core\Utility\MathUtility;
-use TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder;
 use TYPO3\CMS\Fluid\View\StandaloneView;
 
 /**
@@ -100,7 +99,6 @@ class Clipboard
     public function __construct()
     {
         $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class);
-        $this->uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
         $this->view = $this->getStandaloneView();
     }
 
-- 
GitLab