From f0c87dbd008998cab74f2d800a60af26470ab774 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 19 Jul 2010 08:19:54 +0000 Subject: [PATCH] Reverse-merge r69521 from 1.16wmf4: fix OpenSearch caching --- includes/api/ApiMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 56ff118e2b..10b07455b4 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -332,7 +332,7 @@ class ApiMain extends ApiBase { } // If this wiki is private, don't cache anything ever - if ( in_array( 'read', User::getGroupPermissions( array( '*' ) ), true ) ) { + if ( ! in_array( 'read', User::getGroupPermissions( array( '*' ) ), true ) ) { $this->setCachePrivate(); } -- 2.20.1