Declare visibility on class properties of LinkBatch
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 19 Nov 2013 08:07:59 +0000 (09:07 +0100)
committerSiebrand <siebrand@wikimedia.org>
Tue, 19 Nov 2013 08:32:31 +0000 (08:32 +0000)
Set to public. Usage in for example api/ApiPageSet.php.

Change-Id: I8d6b8a0728a465544b09832b2916235628a21b8e

includes/cache/LinkBatch.php

index 7bb41ac..1a20ab4 100644 (file)
@@ -31,7 +31,7 @@ class LinkBatch {
        /**
         * 2-d array, first index namespace, second index dbkey, value arbitrary
         */
-       var $data = array();
+       public $data = array();
 
        /**
         * For debugging which method is using this class.