registration: Catch correct exception type from ObjectCache
authorKunal Mehta <legoktm@member.fsf.org>
Mon, 11 Jun 2018 20:57:58 +0000 (13:57 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 11 Jun 2018 21:09:47 +0000 (21:09 +0000)
commit0ec8125642ebfefd324db4f22a3cbc11a725d6cd
treeb5a27147df767e0f84c8d308da2260bb1ca623e6
parent67ba3f31ed5ed30c0c08bb5a75bb098e3ffbe824
registration: Catch correct exception type from ObjectCache

ObjectCache::newFromId() now throws an InvalidArgumentException if the
specific id can't be found.

Change-Id: Idcb0f2158a38555c1ec1681ba0635c7903e48718
includes/registration/ExtensionRegistry.php