Skip to content
Snippets Groups Projects
Commit 173a8d3e authored by Markus Klein's avatar Markus Klein Committed by Wouter Wolters
Browse files

[BUGFIX] Remove unused references to former ElementBrowser

Resolves: #71276
Releases: master
Change-Id: I472284e9c4617e614122867373c74c771af3e83b
Reviewed-on: https://review.typo3.org/44504


Reviewed-by: default avatarAlexander Opitz <opitz.alexander@googlemail.com>
Tested-by: default avatarAlexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 4eb0955d
Branches
Tags
No related merge requests found
......@@ -34,8 +34,6 @@ class ElementBrowserFolderTreeView extends FolderTreeView
public $ext_IconMode = 1;
/**
* Back-reference to ElementBrowser class
*
* @var LinkParameterProviderInterface
*/
protected $linkParameterProvider;
......
......@@ -44,8 +44,6 @@ class ElementBrowserPageTreeView extends BrowseTreeView
public $ext_pArrPages = true;
/**
* Back-reference to ElementBrowser class
*
* @var LinkParameterProviderInterface
*/
protected $linkParameterProvider;
......
......@@ -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)
......
......@@ -135,7 +135,7 @@ class ElementBrowserController
}
/**
* Get instance of ElementBrowser
* Get instance of the actual element browser
*
* This method shall be overwritten in subclasses
*
......
<?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);
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment