[BUGFIX] Remove unused references to former ElementBrowser 04/44504/2
authorMarkus Klein <markus.klein@typo3.org>
Tue, 3 Nov 2015 13:20:21 +0000 (14:20 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 3 Nov 2015 13:25:59 +0000 (14:25 +0100)
Resolves: #71276
Releases: master
Change-Id: I472284e9c4617e614122867373c74c771af3e83b
Reviewed-on: https://review.typo3.org/44504
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Tree/View/ElementBrowserFolderTreeView.php
typo3/sysext/backend/Classes/Tree/View/ElementBrowserPageTreeView.php
typo3/sysext/core/Classes/Utility/File/BasicFileUtility.php
typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php
typo3/sysext/recordlist/Tests/Unit/Browser/ElementBrowserTest.php [deleted file]

index 3f13fe1..7ad9508 100644 (file)
@@ -34,8 +34,6 @@ class ElementBrowserFolderTreeView extends FolderTreeView
     public $ext_IconMode = 1;
 
     /**
-     * Back-reference to ElementBrowser class
-     *
      * @var LinkParameterProviderInterface
      */
     protected $linkParameterProvider;
index 432fe24..0899922 100644 (file)
@@ -44,8 +44,6 @@ class ElementBrowserPageTreeView extends BrowseTreeView
     public $ext_pArrPages = true;
 
     /**
-     * Back-reference to ElementBrowser class
-     *
      * @var LinkParameterProviderInterface
      */
     protected $linkParameterProvider;
index f851e98..7913bae 100644 (file)
@@ -326,7 +326,7 @@ class BasicFileUtility
      * @param string $thePath MUST HAVE a trailing '/' in order to match correctly with the mounts
      * @return string The key to the first mount found, otherwise nothing is returned.
      * @see init()
-     * @todo: deprecate this function, now done in the Storage object. But still in use by impexp and ElementBrowser
+     * @todo: deprecate this function, now done in the Storage object. But still in use by impexp and ExtendedFileUtility
      * @deprecated but still in use in the Core. Don't use in your extensions!
      */
     public function checkPathAgainstMounts($thePath)
index 1a8f72a..6c2bb34 100644 (file)
@@ -135,7 +135,7 @@ class ElementBrowserController
     }
 
     /**
-     * Get instance of ElementBrowser
+     * Get instance of the actual element browser
      *
      * This method shall be overwritten in subclasses
      *
diff --git a/typo3/sysext/recordlist/Tests/Unit/Browser/ElementBrowserTest.php b/typo3/sysext/recordlist/Tests/Unit/Browser/ElementBrowserTest.php
deleted file mode 100644 (file)
index 66e0eeb..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-namespace TYPO3\CMS\Recordlist\Tests\Unit\Browser;
-
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-/**
- * Test case
- */
-class ElementBrowserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
-{
-    /**
-     * @test
-     */
-    public function printCurrentUrlWithAnyTextReturnsThatText()
-    {
-        $GLOBALS['LANG'] = $this->getMock(\TYPO3\CMS\Lang\LanguageService::class, array(), array(), '', false);
-        $subject = new \TYPO3\CMS\Recordlist\Browser\ElementBrowser();
-        $subject->act = 'file';
-        $result = $subject->printCurrentUrl('Teststring');
-        $this->assertContains('Teststring', $result);
-    }
-}