aboutsummaryrefslogtreecommitdiffstats
path: root/includes/block/DatabaseBlockStore.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/block/DatabaseBlockStore.php')
-rw-r--r--includes/block/DatabaseBlockStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/block/DatabaseBlockStore.php b/includes/block/DatabaseBlockStore.php
index fb601cefa4af..89d3d0ee334b 100644
--- a/includes/block/DatabaseBlockStore.php
+++ b/includes/block/DatabaseBlockStore.php
@@ -123,7 +123,7 @@ class DatabaseBlockStore {
DeferredUpdates::addUpdate( new AutoCommitUpdate(
$dbw,
__METHOD__,
- function ( IDatabase $dbw, $fname ) use ( $blockRestrictionStore ) {
+ static function ( IDatabase $dbw, $fname ) use ( $blockRestrictionStore ) {
$ids = $dbw->selectFieldValues(
'ipblocks',
'ipb_id',