Skip to content
Snippets Groups Projects
Commit bae12916 authored by Benni Mack's avatar Benni Mack Committed by Anja Leichsenring
Browse files

[TASK] Clean up RelationHandler variable assignments

This change cleans up some RelationHandler code:
- Working with true boolean inside RelationHandler for getValueArray()
- RelationHandler->MM_oppositeFieldConf is an array, but declared wrongly
as string (since forever!)
- detecting the MM_oppositeTable property should not need a $tmp variable,
  but using a direct assignment - and unset() is not needed due to PHP7s memory management
- internal $isSet flags should be boolean, instead of a number

Resolves: #90066
Releases: master
Change-Id: Ifff2a016a7be945ba6a1dd265e06b1e52bee5de7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62830


Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 8299492d
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