registration: Short-circuit if dependency constraint is '*'
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 28 Aug 2018 19:29:04 +0000 (12:29 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Tue, 28 Aug 2018 19:29:04 +0000 (12:29 -0700)
commit153ade3fb6a93162dabb3be8ea7fcd3289cc88d8
tree7dfaae6afa40e2a0dcdd7477acc362b5ccf5b48f
parent9686c83554446d47f3157a3de180ee3e08b5f75a
registration: Short-circuit if dependency constraint is '*'

Most extensions depend upon any version of other extensions/skins since
versioning is pretty inconsistent. Since '*' is so commonly used, explicitly
short-circuit that constraint since we only need to check whether the
dependency is loaded.

Bug: T198044
Change-Id: I5526c8068d3b9a6ee5ca71ea6bdbcd693f1ffb7a
includes/registration/VersionChecker.php