summaryrefslogtreecommitdiff
path: root/api.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-08-15 01:29:47 +0200
committerPierre Schmitz <pierre@archlinux.de>2008-08-15 01:29:47 +0200
commit370e83bb0dfd0c70de268c93bf07ad5ee0897192 (patch)
tree491674f4c242e4d6ba0d04eafa305174c35a3391 /api.php
parentf4debf0f12d0524d2b2427c55ea3f16b680fad97 (diff)
Update auf 1.13.0
Diffstat (limited to 'api.php')
-rw-r--r--api.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/api.php b/api.php
index ce445ef4..77dc52a4 100644
--- a/api.php
+++ b/api.php
@@ -76,7 +76,13 @@ $processor = new ApiMain($wgRequest, $wgEnableWriteAPI);
// Process data & print results
$processor->execute();
+// Execute any deferred updates
+wfDoUpdates();
+
// Log what the user did, for book-keeping purposes.
wfProfileOut('api.php');
wfLogProfilingData();
+// Shut down the database
+wfGetLBFactory()->shutdown();
+