Skip to content
Snippets Groups Projects
Commit 4b733ac4 authored by Stephan Großberndt's avatar Stephan Großberndt Committed by Markus Klein
Browse files

[TASK] Remove unused functions in FormEngineUtility

The functions getLanguageService() and getDatabaseConnection() in
FormEngineUtility are not used and can be removed.

Resolves: #76357
Releases: master
Change-Id: I2883152c7ec3f40f80c280f360488a06b0ef9ba8
Reviewed-on: https://review.typo3.org/48369


Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent 3a760d88
Branches
Tags
No related merge requests found
......@@ -16,14 +16,12 @@ namespace TYPO3\CMS\Backend\Form\Utility;
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
use TYPO3\CMS\Core\Database\DatabaseConnection;
use TYPO3\CMS\Core\Imaging\Icon;
use TYPO3\CMS\Core\Imaging\IconFactory;
use TYPO3\CMS\Core\Utility\ArrayUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Utility\PathUtility;
use TYPO3\CMS\Core\Utility\StringUtility;
use TYPO3\CMS\Lang\LanguageService;
/**
* This is a static, internal and intermediate helper class for various
......@@ -221,22 +219,6 @@ class FormEngineUtility
return $newRow;
}
/**
* @return LanguageService
*/
protected static function getLanguageService()
{
return $GLOBALS['LANG'];
}
/**
* @return DatabaseConnection
*/
protected static function getDatabaseConnection()
{
return $GLOBALS['TYPO3_DB'];
}
/**
* @return BackendUserAuthentication
*/
......
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