[CLEANUP] Remove superfluous initialization of UriBuilder 23/51723/4
authorSascha Egerer <sascha@sascha-egerer.de>
Thu, 16 Feb 2017 21:20:35 +0000 (22:20 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 16 Feb 2017 23:34:16 +0000 (00:34 +0100)
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

index 00ff2ae..2eb3eb5 100644 (file)
@@ -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();
     }