[TASK] Remove unused properties in $LANG 37/45137/2
authorBenni Mack <benni@typo3.org>
Sat, 5 Dec 2015 12:06:32 +0000 (13:06 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 5 Dec 2015 12:19:33 +0000 (13:19 +0100)
The properties $charsetArray and $typo3_help_url
inside LanguageService are not needed and are outdated,
thus they can be removed.

Resolves: #72069
Releases: master
Change-Id: Icc6bc48297b361b2797614214176e463d25f683f
Reviewed-on: https://review.typo3.org/45137
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/lang/Classes/LanguageService.php

index 9847dfc..e1be40d 100644 (file)
@@ -43,21 +43,6 @@ class LanguageService
     public $charSet = 'utf-8';
 
     /**
-     * Array with alternative charsets for other languages.
-     * Moved to \TYPO3\CMS\Core\Charset\CharsetConverter, set internally from csConvObj!
-     *
-     * @var array
-     */
-    public $charSetArray = array();
-
-    /**
-     * This is the url to the TYPO3 manual
-     *
-     * @var string
-     */
-    public $typo3_help_url = 'http://typo3.org/documentation/document-library/';
-
-    /**
      * If TRUE, will show the key/location of labels in the backend.
      *
      * @var bool
@@ -122,7 +107,6 @@ class LanguageService
     {
         // Initialize the conversion object:
         $this->csConvObj = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Charset\CharsetConverter::class);
-        $this->charSetArray = $this->csConvObj->charSetArray;
         // Initialize the parser factory object
         $this->parserFactory = GeneralUtility::makeInstance(LocalizationFactory::class);
         // Find the requested language in this list based