diff options
Diffstat (limited to 'includes/Rest/Handler/UpdateHandler.php')
-rw-r--r-- | includes/Rest/Handler/UpdateHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Rest/Handler/UpdateHandler.php b/includes/Rest/Handler/UpdateHandler.php index a61f27446117..3053306fd598 100644 --- a/includes/Rest/Handler/UpdateHandler.php +++ b/includes/Rest/Handler/UpdateHandler.php @@ -164,7 +164,7 @@ class UpdateHandler extends EditHandler { if ( $code === 'editconflict' ) { $data = $this->getConflictData(); - throw new LocalizedHttpException( $this->makeMessageValue( $msg ), 409, $data ); + throw new LocalizedHttpException( MessageValue::newFromSpecifier( $msg ), 409, $data ); } parent::throwHttpExceptionForActionModuleError( $msg, $statusCode ); |