dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc99a4
)
This is cleaner, thanks to ialex
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 2 Apr 2008 20:19:35 +0000
(20:19 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 2 Apr 2008 20:19:35 +0000
(20:19 +0000)
api.php
patch
|
blob
|
history
diff --git
a/api.php
b/api.php
index
1a44331
..
b856708
100644
(file)
--- 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');