There is a left-over code after
file_edit.php was removed from
the core in 7.1 development.
The patch removes the check.
Releases: master
Resolves: #63686
Change-Id: I283ad1e7aea9f7f9d113ecc76178e1bf26504ca0
Reviewed-on: http://review.typo3.org/35170
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
* @see \TYPO3\CMS\Backend\Template\DocumentTemplate::startPage
*/
public function preStartPageHook($parameters, $pObj) {
- // The preg_match call is deprecated and can be removed if the file typo3/file_edit.php is removed.
- if (GeneralUtility::_GET('M') === 'file_edit' || preg_match('/typo3\\/file_edit\\.php/', $_SERVER['SCRIPT_NAME'])) {
+ if (GeneralUtility::_GET('M') === 'file_edit') {
$t3editor = $this->getT3editor();
if (!$t3editor->isEnabled()) {
return;