Add more documentation to DeferredUpdates::doUpdates
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 6 Mar 2019 08:04:12 +0000 (00:04 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 6 Mar 2019 08:04:12 +0000 (00:04 -0800)
Change-Id: Id2f1fb624d03943e5eb4bed49d3435cf9c99fc25

includes/deferred/DeferredUpdates.php

index b97bd21..67b5490 100644 (file)
@@ -124,6 +124,9 @@ class DeferredUpdates {
        /**
         * Do any deferred updates and clear the list
         *
+        * If $stage is self::ALL then the queue of PRESEND updates will be resolved,
+        * followed by the queue of POSTSEND updates
+        *
         * @param string $mode Use "enqueue" to use the job queue when possible [Default: "run"]
         * @param int $stage DeferredUpdates constant (PRESEND, POSTSEND, or ALL) (since 1.27)
         */