From: Reedy Date: Tue, 20 Nov 2018 06:35:43 +0000 (+0000) Subject: ApiQueryBlocks.php: Call static function statically X-Git-Tag: 1.34.0-rc.0~3446^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=e1a706dbf77668428a90954de4b23d2d6682f467 ApiQueryBlocks.php: Call static function statically Change-Id: I0f1a5e5e8169e1cb233f98a831b29e6e302b554c --- 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;