aboutsummaryrefslogtreecommitdiffstats
path: root/includes/changes/RecentChange.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/changes/RecentChange.php')
-rw-r--r--includes/changes/RecentChange.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/changes/RecentChange.php b/includes/changes/RecentChange.php
index 339596641a68..1dc8918b4dfc 100644
--- a/includes/changes/RecentChange.php
+++ b/includes/changes/RecentChange.php
@@ -699,7 +699,7 @@ class RecentChange implements Taggable {
];
DeferredUpdates::addCallableUpdate(
- function () use ( $rc, $tags, $editResult ) {
+ static function () use ( $rc, $tags, $editResult ) {
$rc->addTags( $tags );
$rc->setEditResult( $editResult );
$rc->save();
@@ -773,7 +773,7 @@ class RecentChange implements Taggable {
];
DeferredUpdates::addCallableUpdate(
- function () use ( $rc, $tags ) {
+ static function () use ( $rc, $tags ) {
$rc->addTags( $tags );
$rc->save();
},