From f3b786bd6af2917c49855271b6faf38b561db2eb Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 29 Aug 2019 22:21:36 -0700 Subject: [PATCH] Replace unecessary rollbackMasterChangesAndLog() call in doPostOutputShutdown() The called method should not touch the databases Change-Id: Ic1e242240a8676c5f9b6d5bce2b901412629e238 --- includes/MediaWiki.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/MediaWiki.php b/includes/MediaWiki.php index 7a6987e20f..f91477af2e 100644 --- a/includes/MediaWiki.php +++ b/includes/MediaWiki.php @@ -745,7 +745,7 @@ class MediaWiki { Profiler::instance()->logDataPageOutputOnly(); } catch ( Exception $e ) { // An error may already have been shown in run(), so just log it to be safe - MWExceptionHandler::rollbackMasterChangesAndLog( $e ); + MWExceptionHandler::logException( $e ); } // Disable WebResponse setters for post-send processing (T191537). -- 2.20.1