Revert r37443 for the moment:
[lhc/web/wiklou.git] / api.php
diff --git a/api.php b/api.php
index b856708..77dc52a 100644 (file)
--- a/api.php
+++ b/api.php
@@ -83,3 +83,6 @@ wfDoUpdates();
 wfProfileOut('api.php');
 wfLogProfilingData();
 
+// Shut down the database
+wfGetLBFactory()->shutdown();
+