Index: trunk/phase3/includes/cache/LinkCache.php |
— | — | @@ -9,8 +9,10 @@ |
10 | 10 | // becomes incompatible with the new version. |
11 | 11 | private $mClassVer = 4; |
12 | 12 | |
13 | | - private $mGoodLinks, $mBadLinks; |
14 | | - private $mForUpdate; |
| 13 | + private $mGoodLinks = array(); |
| 14 | + private $mGoodLinkFields = array(); |
| 15 | + private $mBadLinks = array(); |
| 16 | + private $mForUpdate = false; |
15 | 17 | |
16 | 18 | /** |
17 | 19 | * Get an instance of this class |
— | — | @@ -25,13 +27,6 @@ |
26 | 28 | return $instance; |
27 | 29 | } |
28 | 30 | |
29 | | - function __construct() { |
30 | | - $this->mForUpdate = false; |
31 | | - $this->mGoodLinks = array(); |
32 | | - $this->mGoodLinkFields = array(); |
33 | | - $this->mBadLinks = array(); |
34 | | - } |
35 | | - |
36 | 31 | /** |
37 | 32 | * General accessor to get/set whether SELECT FOR UPDATE should be used |
38 | 33 | * |