Avoid instantiating ResourceLoader modules twice
authorOri Livneh <ori@wikimedia.org>
Wed, 6 Mar 2013 00:24:57 +0000 (16:24 -0800)
committerOri Livneh <ori@wikimedia.org>
Wed, 6 Mar 2013 00:24:57 +0000 (16:24 -0800)
commit5d19c0b1bce396e9c609074587f68d14269fd0b5
tree055c80fe43bd736cade7179bc4721a2838247864
parenta64cf035be6b18d0b5e1bc8379c7923a5b971c38
Avoid instantiating ResourceLoader modules twice

Commit 13169c88 seperated out the call to getModule from the assignment to the
$modules array in order to add a check for private modules, so they can be
filtered out (see bug 34907). This had the (presumably unintended) side-effect
of causing modules to be instantiated twice.

Change-Id: Iccd7f3d3d473c5a43107842ed4e1cf08857a3886
includes/resourceloader/ResourceLoader.php