ApiQueryBlocks.php: Call static function statically
authorReedy <reedy@wikimedia.org>
Tue, 20 Nov 2018 06:35:43 +0000 (06:35 +0000)
committerReedy <reedy@wikimedia.org>
Tue, 20 Nov 2018 06:37:17 +0000 (06:37 +0000)
Change-Id: I0f1a5e5e8169e1cb233f98a831b29e6e302b554c

includes/api/ApiQueryBlocks.php

index 3cd2ace..caaebc9 100644 (file)
@@ -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;