From e1a706dbf77668428a90954de4b23d2d6682f467 Mon Sep 17 00:00:00 2001 From: Reedy Date: Tue, 20 Nov 2018 06:35:43 +0000 Subject: [PATCH] ApiQueryBlocks.php: Call static function statically Change-Id: I0f1a5e5e8169e1cb233f98a831b29e6e302b554c --- includes/api/ApiQueryBlocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryBlocks.php b/includes/api/ApiQueryBlocks.php index 3cd2aceceb..caaebc9194 100644 --- a/includes/api/ApiQueryBlocks.php +++ b/includes/api/ApiQueryBlocks.php @@ -187,7 +187,7 @@ class ApiQueryBlocks extends ApiQueryBase { $restrictions = []; if ( $fld_restrictions ) { - $restrictions = $this->getRestrictionData( $res, $params['limit'] ); + $restrictions = self::getRestrictionData( $res, $params['limit'] ); } $count = 0; -- 2.20.1