[TASK] Remove duplicate calls to substr in InfoPageTyposcriptConfigController 14/50514/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sun, 6 Nov 2016 16:14:03 +0000 (17:14 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 7 Nov 2016 09:52:53 +0000 (10:52 +0100)
commit127931c5330c48ce73d516593621b10eec7f37c9
tree52f6cbb4d34f2435ba5e77954a4a101aa99c9245
parent54355481849955edf622bdcac282a0348549b240
[TASK] Remove duplicate calls to substr in InfoPageTyposcriptConfigController

substr is called 3 times with the same parameters, use one variable for this.

Resolves: #78583
Releases: master
Change-Id: Idc57e143c26cd190f8047d59f1e36cb745e9aaf8
Reviewed-on: https://review.typo3.org/50514
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/info_pagetsconfig/Classes/Controller/InfoPageTyposcriptConfigController.php