From 7526c30960ffe2f7b5c0d862600f512397d7ed75 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 29 Aug 2019 22:18:54 -0700 Subject: [PATCH] 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 --- includes/api/ApiStashEdit.php | 3 --- 1 file changed, 3 deletions(-) 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 { -- 2.20.1