Index: trunk/phase3/api.php |
— | — | @@ -77,9 +77,7 @@ |
78 | 78 | $processor->execute(); |
79 | 79 | |
80 | 80 | // Execute any deferred updates |
81 | | -$mediawiki = new MediaWiki(); |
82 | | -$mediawiki->doUpdates($wgDeferredUpdateList); |
83 | | -$mediawiki->doUpdates($wgPostCommitUpdateList); |
| 81 | +wfDoUpdates(); |
84 | 82 | |
85 | 83 | // Log what the user did, for book-keeping purposes. |
86 | 84 | wfProfileOut('api.php'); |