[BUGFIX] Ignore --linebreak-- fields in removeDuplicatesForInsertion 19/34019/6
authorChristian Ludwig <cl@viazenetti.de>
Wed, 12 Nov 2014 15:12:17 +0000 (16:12 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Fri, 2 Jan 2015 18:40:29 +0000 (19:40 +0100)
commit227aba6ca5b5c80958d9c642ec80cbf341790129
tree3647f49d8f55d2e63cb64a3b1778fec33881bfe2
parent23b77fd47a5c9c1fc9b58d2f9f22244503f8418c
[BUGFIX] Ignore --linebreak-- fields in removeDuplicatesForInsertion

ExtensionManagementUtility::removeDuplicatesForInsertion() ignores
--linebreak-- fields when looking for duplicates.
In addition the method uses less regular expressions to
make it more performant and easier to understand.

Resolves: #57824
Releases: master, 6.2
Change-Id: Ia064abe81501ec4649dc8fb1fe613d5e5497ff9c
Reviewed-on: http://review.typo3.org/34019
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php