registration: Improve error message for invalid "callback" in extension.json
authorUmherirrender <umherirrender_de.wp@web.de>
Wed, 6 Sep 2017 19:44:49 +0000 (21:44 +0200)
committerLegoktm <legoktm@member.fsf.org>
Sat, 9 Sep 2017 00:07:07 +0000 (00:07 +0000)
commitff5222b3a06079eb1e10e079e86495e86245d616
tree0f0fc715a74e1bf27fbc29058777cb438d390883
parent13e59687c81b6bdd9b7fab8a49aee8ffd68e0a21
registration: Improve error message for invalid "callback" in extension.json

Getting the following error for an invalid callback is not helpful:
Warning: Invalid argument: function: class not found in
/includes/registration/ExtensionRegistry.php on line 335

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