r32725 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32724‎ | r32725 | r32726 >
Date:20:19, 2 April 2008
Author:catrope
Status:old
Tags:
Comment:
This is cleaner, thanks to ialex
Modified paths:
  • /trunk/phase3/api.php (modified) (history)

Diff [purge]

Index: trunk/phase3/api.php
@@ -77,9 +77,7 @@
7878 $processor->execute();
7979
8080 // Execute any deferred updates
81 -$mediawiki = new MediaWiki();
82 -$mediawiki->doUpdates($wgDeferredUpdateList);
83 -$mediawiki->doUpdates($wgPostCommitUpdateList);
 81+wfDoUpdates();
8482
8583 // Log what the user did, for book-keeping purposes.
8684 wfProfileOut('api.php');

Status & tagging log