registration: Fix regression in ExtensionMessagesFiles handling
authorKunal Mehta <legoktm@gmail.com>
Fri, 6 Feb 2015 23:02:26 +0000 (15:02 -0800)
committerKunal Mehta <legoktm@gmail.com>
Fri, 6 Feb 2015 23:02:26 +0000 (15:02 -0800)
commit7067b6130d9339a9fe2e5a9a355780cdea1b0363
treeff0f09617ef8f1edbf218ddd3320af830816a9dc
parentf77bd5c0e4fe463c10a9c2ea9ef8b62bc923960a
registration: Fix regression in ExtensionMessagesFiles handling

In f2daeaa7494b404, the handling of MessageDirs was fixed to properly
handle arrays, except that broke ExtensionMessagesFiles which doesn't
support arrays. Since both settings are pretty much different, I split
them into separate functions.

Bug: T88858
Change-Id: I48765af2489d2ef1e30adb1d7c5a5a8f23bf522d
includes/registration/ExtensionProcessor.php
tests/phpunit/includes/registration/ExtensionProcessorTest.php