[BUGFIX] Wrong usage of array_unique() 94/18694/2
authorAndreas Lingott <lingott@gmail.com>
Tue, 5 Mar 2013 07:31:16 +0000 (08:31 +0100)
committerMichael Stucki <michael.stucki@typo3.org>
Tue, 5 Mar 2013 13:25:49 +0000 (14:25 +0100)
commit6e5ec413c47ed278111ad766baeecb7406cae97b
tree4a64b576516f53b5230944cf3ad0a6a6b6a25e46
parent89b21f099d9b42b3aa5da7db4dbadac82c6e95f4
[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/18694
Tested-by: Andreas Lingott
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Michael Stucki
Tested-by: Michael Stucki
typo3/sysext/core/Classes/Utility/RootlineUtility.php