From: Roan Kattouw Date: Wed, 2 Apr 2008 20:19:35 +0000 (+0000) Subject: This is cleaner, thanks to ialex X-Git-Tag: 1.31.0-rc.0~48651 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=5162afcfb993586c2ad65e20f97094dbd6ea001f;p=lhc%2Fweb%2Fwiklou.git This is cleaner, thanks to ialex --- diff --git a/api.php b/api.php index 1a443317b6..b856708e2a 100644 --- a/api.php +++ b/api.php @@ -77,9 +77,7 @@ $processor = new ApiMain($wgRequest, $wgEnableWriteAPI); $processor->execute(); // Execute any deferred updates -$mediawiki = new MediaWiki(); -$mediawiki->doUpdates($wgDeferredUpdateList); -$mediawiki->doUpdates($wgPostCommitUpdateList); +wfDoUpdates(); // Log what the user did, for book-keeping purposes. wfProfileOut('api.php');