Skip to content
Commit d58fbf8d authored by Torben Hansen's avatar Torben Hansen Committed by Stefan Bürk
Browse files

[TASK] Remove unused variable in DataHandler

Initializing the variable `$nativeDateTimeFieldEmptyValue` to
an empty string in the function `checkValueForDatetime` is
superfluous, since the variable is initialized again in the
following if-condition and only used inside the condition
code.

The initialization to an empty string can therefore safely
be removed.

Resolves: #103643
Releases: main
Change-Id: Ifd845228dfb2f5eec2f75c4232602921d9dc964b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83840


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Tested-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: default avatarSimon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: default avatarJörg Bösche <typo3@joergboesche.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
parent 7da78595
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