[BUGFIX] Ignore --linebreak-- fields in removeDuplicatesForInsertion 45/35745/2
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:46:10 +0000 (19:46 +0100)
commit7c58aca7b4031b153df49c98bda56b881b0fe950
tree6a1f53cad64480cb46670c33a2d3f800f96d20da
parente916406c1a109aa26daa7b18fddd19afc349f31b
[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/35745
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