registration: Prevent loading the same thing twice
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 30 Dec 2015 01:52:11 +0000 (17:52 -0800)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 30 Dec 2015 01:52:11 +0000 (17:52 -0800)
commit8e61ed3507040c873a159d1031295df70e4b66de
treef00f95823501905db1b0da6014e6b9664cb1a794
parentedf52ea0767467f205e91aeae1664f718f9b0860
registration: Prevent loading the same thing twice

Normally the registry load queue should filter out duplicates, but if
people do weird things with symlinks, throw a useful error message if
the double-loading makes it all the way to the processor.

Bug: T121493
Change-Id: I47f5cd754e5f3c91e6b83a6d0ab542404347a421
includes/registration/ExtensionProcessor.php
tests/phpunit/includes/registration/ExtensionProcessorTest.php