Commit master changes on all ajax requests. There's no reason that this should be...
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 30 Apr 2009 05:28:02 +0000 (05:28 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 30 Apr 2009 05:28:02 +0000 (05:28 +0000)
index.php

index 1aa59b7..1176e8c 100644 (file)
--- a/index.php
+++ b/index.php
@@ -71,6 +71,7 @@ if( $wgUseAjax && $action == 'ajax' ) {
        require_once( $IP . '/includes/AjaxDispatcher.php' );
        $dispatcher = new AjaxDispatcher();
        $dispatcher->performAction();
+       wfGetLBFactory()->commitMasterChanges();
        $mediaWiki->restInPeace();
        exit;
 }