invalidparammix/missingparam get the module prefix twice
authorMatthias Mullie <git@mullie.eu>
Mon, 3 Jun 2013 18:23:16 +0000 (20:23 +0200)
committerMatthias Mullie <git@mullie.eu>
Mon, 3 Jun 2013 18:23:18 +0000 (20:23 +0200)
commit52ecc8d9b50d7901fe6d4ab2f9bf2575c1e6111f
treedfe04c55d74632caa0ad38dcc8284c80d9cad5fc
parent35b6b63e48b91c718dd07fa2383104060149b279
invalidparammix/missingparam get the module prefix twice

dieUsage will call encodeParamName, which will already prefix the error code with the module prefix

E.g. for ApiViewFeedbackArticleFeedbackv5 (prefix afvf), this error code was
(incorrectly): afvfafvfinvalidparammix. Should be: afvfinvalidparammix

Change-Id: Ia351678b49e96ef58dce773331ebe9a1b3ebf824
includes/api/ApiBase.php