registration: Don't array_unique() over the queue before loading it
authorKunal Mehta <legoktm@gmail.com>
Tue, 19 May 2015 05:30:37 +0000 (22:30 -0700)
committerKunal Mehta <legoktm@gmail.com>
Tue, 19 May 2015 05:30:37 +0000 (22:30 -0700)
commit1be36f6356bc6fd76586518001bc76c3d9b9aa14
tree141f64f9440ab10ba314d1c265566ac34aa5db98
parent2a176864eb7781599e49a97ce7921262bb8fdcc6
registration: Don't array_unique() over the queue before loading it

array_unique works over values, not keys (you can't have an array with
duplicate keys in PHP) so it would end up removing extensions that
happened to have an identical timestamp with another one.

Bug: T98956
Change-Id: I66e202ea882ae4d5cb1bcafb7882cbd9cd52a1b3
includes/registration/ExtensionRegistry.php