rdbms: rename onTransactionIdle() to onTransactionCommitOrIdle()
[lhc/web/wiklou.git] / includes / changes / RecentChange.php
index eea8af3..cc9532e 100644 (file)
@@ -464,7 +464,7 @@ class RecentChange {
                        ) {
                                // @FIXME: This would be better as an extension hook
                                // Send emails or email jobs once this row is safely committed
-                               $dbw->onTransactionIdle(
+                               $dbw->onTransactionCommitOrIdle(
                                        function () use ( $editor, $title ) {
                                                $enotif = new EmailNotification();
                                                $enotif->notifyOnPageChange(