Index: branches/wmf/1.16wmf4/includes/api/ApiMain.php |
— | — | @@ -336,7 +336,7 @@ |
337 | 337 | } |
338 | 338 | |
339 | 339 | // If this wiki is private, don't cache anything ever |
340 | | - if ( in_array( 'read', User::getGroupPermissions( array( '*' ) ), true ) ) { |
| 340 | + if ( ! in_array( 'read', User::getGroupPermissions( array( '*' ) ), true ) ) { |
341 | 341 | $this->setCachePrivate(); |
342 | 342 | } |
343 | 343 | |