Follow-up to Ie3499d
authorOri Livneh <ori@wikimedia.org>
Tue, 27 Oct 2015 07:44:47 +0000 (00:44 -0700)
committerOri Livneh <ori@wikimedia.org>
Tue, 27 Oct 2015 07:44:47 +0000 (00:44 -0700)
commitd3e3bcfd6daad1f2a5894129b7e6d2f5c4390a6f
tree6a9fc8f4de8edc45fb61f19f8a81d9d527e60e7e
parent494fa0e46c7bf8b957fffe3cba4320fe6782485e
Follow-up to Ie3499d

My first pass at what became Ie3499d9f2 was to keep the exception for duplicate
registrations with conflicting parameters but downgrade to a warning if the
registration attempts are identically parametrized. I then removed the
exception entirely, but left the if-block, which does not make much sense, as
it means we pass over silently module registrations that set different
parameters, and throw a warning only when they are the same.

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