[CLEANUP] Minor code improvements in DatabaseRowInitializeNew 93/43293/3
authorLoek Hilgersom <loek@netcoop.nl>
Mon, 14 Sep 2015 11:41:19 +0000 (13:41 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 15 Sep 2015 09:12:13 +0000 (11:12 +0200)
commit89e11ed04724233004fddfec76c78b58cb227555
tree6205b84b372bdcefbcbc32f349a2bb223f67af96
parent6950ba0b90b19151432bb9154073e587e695775e
[CLEANUP] Minor code improvements in DatabaseRowInitializeNew

Removes a condition checking if values are set before overwriting:
just changing the order will do.
Removes a non-functional isset check.

Resolves: #69781
Releases: master
Change-Id: I3cdf7a1f54d2e237df3fa90d7733160d3cda4d42
Reviewed-on: http://review.typo3.org/43293
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseRowInitializeNew.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php