X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiUsageException.php;h=c200dcba6fd6f5077016a9120cf7bc999ef05150;hb=3844fd9d639ed67cd3519eab2d7db440100cdd26;hp=47902a75b0a3cede6251c0023368f1b68baa1aca;hpb=53ecf20db8bfc2109553e80bf932dac7321d63ec;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiUsageException.php b/includes/api/ApiUsageException.php index 47902a75b0..c200dcba6f 100644 --- a/includes/api/ApiUsageException.php +++ b/includes/api/ApiUsageException.php @@ -16,7 +16,6 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @defgroup API API */ /** @@ -213,7 +212,7 @@ class ApiUsageException extends UsageException implements ILocalizedException { * @inheritDoc */ public function getMessageObject() { - return $this->status->getMessage(); + return Status::wrap( $this->status )->getMessage(); } /**