Index: trunk/phase3/includes/api/ApiMain.php |
— | — | @@ -332,7 +332,7 @@ |
333 | 333 | } |
334 | 334 | |
335 | 335 | // If this wiki is private, don't cache anything ever |
336 | | - if ( in_array( 'read', User::getGroupPermissions( array( '*' ) ), true ) ) { |
| 336 | + if ( ! in_array( 'read', User::getGroupPermissions( array( '*' ) ), true ) ) { |
337 | 337 | $this->setCachePrivate(); |
338 | 338 | } |
339 | 339 | |
Property changes on: trunk/phase3/includes/api |
___________________________________________________________________ |
Modified: svn:mergeinfo |
340 | 340 | Merged /branches/wmf/1.16wmf4/includes/api:r69521 |