[BUGFIX] Wrong usage of array_unique() 91/18691/4
authorAndreas Lingott <lingott@gmail.com>
Tue, 5 Mar 2013 07:31:16 +0000 (08:31 +0100)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 5 Mar 2013 13:03:46 +0000 (14:03 +0100)
commitbb69e83735232622390cb941e64ad4c2fda1c9ff
tree99282da6f39da95beb10badd9d57875252f6c706
parente2096a05dd2f68e57768b9bbedf49fcfbc5706eb
[BUGFIX] Wrong usage of array_unique()

RootlineUtility.php does not use return value of array_unique() call,
which makes the call ineffective.

This causes some huge SQL queries and increases page load time heavily.

Resolves: #46000
Releases: 6.1, 6.0
Change-Id: Ic614a22a97927cc433eab9e5bf1b6125d53b5882
Reviewed-on: https://review.typo3.org/18691
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
typo3/sysext/core/Classes/Utility/RootlineUtility.php