From: Aaron Schulz Date: Fri, 30 Aug 2019 05:21:36 +0000 (-0700) Subject: Replace unecessary rollbackMasterChangesAndLog() call in doPostOutputShutdown() X-Git-Tag: 1.34.0-rc.0~465^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=f3b786bd6af2917c49855271b6faf38b561db2eb;p=lhc%2Fweb%2Fwiklou.git Replace unecessary rollbackMasterChangesAndLog() call in doPostOutputShutdown() The called method should not touch the databases Change-Id: Ic1e242240a8676c5f9b6d5bce2b901412629e238 --- 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).