Declare visibility on class property in ApiQueryInfo
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Thu, 14 Nov 2013 14:19:13 +0000 (15:19 +0100)
committerChad <chadh@wikimedia.org>
Fri, 15 Nov 2013 18:08:51 +0000 (18:08 +0000)
Only used in this class, so make protected.

Change-Id: I20984d14524073b6b1b9f4b31c2107722318503f

includes/api/ApiQueryInfo.php

index 3a1c21a..43b8c0c 100644 (file)
@@ -109,7 +109,7 @@ class ApiQueryInfo extends ApiQueryBase {
                return $this->tokenFunctions;
        }
 
-       static $cachedTokens = array();
+       static protected $cachedTokens = array();
 
        public static function resetTokenCache() {
                ApiQueryInfo::$cachedTokens = array();