dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f5d5ed
)
Reverse-merge r69521 from 1.16wmf4: fix OpenSearch caching
author
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 19 Jul 2010 08:19:54 +0000
(08:19 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 19 Jul 2010 08:19:54 +0000
(08:19 +0000)
includes/api/ApiMain.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
56ff118
..
10b0745
100644
(file)
--- 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();
}