From: Aaron Schulz Date: Fri, 30 Aug 2019 05:18:54 +0000 (-0700) Subject: Remove redundant ignore_user_abort() call in ApiStashEdit X-Git-Tag: 1.34.0-rc.0~466^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=7526c30960ffe2f7b5c0d862600f512397d7ed75 Remove redundant ignore_user_abort() call in ApiStashEdit This API module has mustBePosted() return true and such POST request are already covered by both WebStart.php and ApiBase::useTransactionalTimeLimit(). Change-Id: Ie6f6af1459dde82572be8784049a307a3a769a1c --- diff --git a/includes/api/ApiStashEdit.php b/includes/api/ApiStashEdit.php index c3cf5f1089..478b0bcfba 100644 --- a/includes/api/ApiStashEdit.php +++ b/includes/api/ApiStashEdit.php @@ -131,9 +131,6 @@ class ApiStashEdit extends ApiBase { return; } - // The user will abort the AJAX request by pressing "save", so ignore that - ignore_user_abort( true ); - if ( $user->pingLimiter( 'stashedit' ) ) { $status = 'ratelimited'; } else {