From: Aaron Schulz Date: Thu, 25 Apr 2013 20:32:55 +0000 (-0700) Subject: Updated onTransactionIdle() docs a bit. X-Git-Tag: 1.31.0-rc.0~19872^2 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=e73028e6148424da8d69ed882e2b330ef22c45fa;p=lhc%2Fweb%2Fwiklou.git Updated onTransactionIdle() docs a bit. Change-Id: I12063991393a0db064488a72cfda70911fec3755 --- diff --git a/includes/db/Database.php b/includes/db/Database.php index 63c9cfe6b3..70fc1f3f6e 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2966,6 +2966,7 @@ abstract class DatabaseBase implements DatabaseType { /** * Run an anonymous function as soon as there is no transaction pending. * If there is a transaction and it is rolled back, then the callback is cancelled. + * Queries in the function will run in AUTO-COMMIT mode unless there are begin() calls. * Callbacks must commit any transactions that they begin. * * This is useful for updates to different systems or when separate transactions are needed.