From e93f63f472c98e5a351837c7231cb942169481cd Mon Sep 17 00:00:00 2001 From: zoranzoki21 Date: Fri, 3 Nov 2023 23:28:18 +0100 Subject: [PATCH] Update commented-out code to reflect T189222 Bug: T189222 Change-Id: I4301fda9fb1001ef845327ee385aa73a8a606633 --- includes/api/ApiAJAXPollSubmitVote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiAJAXPollSubmitVote.php b/includes/api/ApiAJAXPollSubmitVote.php index 2f921d1..5653113 100644 --- a/includes/api/ApiAJAXPollSubmitVote.php +++ b/includes/api/ApiAJAXPollSubmitVote.php @@ -28,7 +28,7 @@ class ApiAJAXPollSubmitVote extends ApiBase { !$id || $id === null || !$answer || $answer === null ) { - $this->dieUsageMsg( 'missingparam' ); + $this->dieWithError( 'missingparam' ); } */