Merge "Simplify checking for widgets on special block page"
[lhc/web/wiklou.git] / includes / deferred / MWCallableUpdate.php
index 9803b7a..efca406 100644 (file)
@@ -35,6 +35,10 @@ class MWCallableUpdate implements DeferrableUpdate, DeferrableCallback {
                }
        }
 
+       /**
+        * @private This method is public so that it works with onTransactionResolution()
+        * @param int $trigger
+        */
        public function cancelOnRollback( $trigger ) {
                if ( $trigger === IDatabase::TRIGGER_ROLLBACK ) {
                        $this->callback = null;