dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Do not suppress php notices in SpecialPageFatalTest"
[lhc/web/wiklou.git]
/
includes
/
deferred
/
MWCallableUpdate.php
diff --git
a/includes/deferred/MWCallableUpdate.php
b/includes/deferred/MWCallableUpdate.php
index
9803b7a
..
efca406
100644
(file)
--- a/
includes/deferred/MWCallableUpdate.php
+++ b/
includes/deferred/MWCallableUpdate.php
@@
-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;