From: Chad Horohoe Date: Fri, 10 Apr 2009 14:27:29 +0000 (+0000) Subject: (bug 7830) Pending transactions failed to commit on loginToUse() error X-Git-Tag: 1.31.0-rc.0~42177 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=2d921487e4b2c3531a88e88d525d0f72bfbebefe;p=lhc%2Fweb%2Fwiklou.git (bug 7830) Pending transactions failed to commit on loginToUse() error --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c1f3cabc08..0c5f2a7823 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -334,6 +334,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 18377) Time in Enhanced ChangesList lacking localisation * (bug 12998) Allow , , etc. in DISPLAYTITLE * (bug 1553) Lowercase navigation headings in German +* (bug 7830) Pending transactions failed to commit on loginToUse() error == API changes in 1.15 == * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions diff --git a/includes/Wiki.php b/includes/Wiki.php index 24a99551db..d873b9f20c 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -152,8 +152,9 @@ class MediaWiki { # the Read array in order for the user to see it. (We have to check here to # catch special pages etc. We check again in Article::view()) if( !is_null( $title ) && !$title->userCanRead() ) { + global $wgDeferredUpdateList; $output->loginToUse(); - $output->output(); + $this->finalCleanup( $wgDeferredUpdateList, $output ); $output->disable(); return false; }