From b3f1efb55370fcc82a1f3db2ce56bcad08665233 Mon Sep 17 00:00:00 2001 From: Sam Marshall Date: Wed, 16 Jun 2010 10:13:41 +0000 Subject: [PATCH] dml NOBUG Corrected out of date phpdoc comment --- lib/dml/moodle_database.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dml/moodle_database.php b/lib/dml/moodle_database.php index 16893b722bb..49e75ec640b 100644 --- a/lib/dml/moodle_database.php +++ b/lib/dml/moodle_database.php @@ -1936,7 +1936,8 @@ abstract class moodle_database { /** * On DBs that support it, switch to transaction mode and begin a transaction - * you'll need to ensure you call commit() or your changes *will* be lost. + * you'll need to ensure you call allow_commit() on the returned object + * or your changes *will* be lost. * * this is _very_ useful for massive updates *