dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GitInfo: Don't try shelling out if it's disabled
[lhc/web/wiklou.git]
/
includes
/
site
/
CachingSiteStore.php
diff --git
a/includes/site/CachingSiteStore.php
b/includes/site/CachingSiteStore.php
index
077dbc0
..
f3cd1e8
100644
(file)
--- a/
includes/site/CachingSiteStore.php
+++ b/
includes/site/CachingSiteStore.php
@@
-90,7
+90,7
@@
class CachingSiteStore implements SiteStore {
private function getCacheKey() {
if ( $this->cacheKey === null ) {
$type = 'SiteList#' . SiteList::getSerialVersionId();
private function getCacheKey() {
if ( $this->cacheKey === null ) {
$type = 'SiteList#' . SiteList::getSerialVersionId();
- $this->cacheKey =
wfMemc
Key( "sites/$type" );
+ $this->cacheKey =
$this->cache->make
Key( "sites/$type" );
}
return $this->cacheKey;
}
return $this->cacheKey;
@@
-142,7
+142,7
@@
class CachingSiteStore implements SiteStore {
* @return bool Success indicator
*/
public function saveSite( Site $site ) {
* @return bool Success indicator
*/
public function saveSite( Site $site ) {
- return $this->saveSites(
array( $site )
);
+ return $this->saveSites(
[ $site ]
);
}
/**
}
/**