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:
51a6ead
)
Followup r101507: don't automatically use APC for the localization cache if it is...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 23 Nov 2011 13:12:22 +0000
(13:12 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 23 Nov 2011 13:12:22 +0000
(13:12 +0000)
includes/LocalisationCache.php
patch
|
blob
|
history
diff --git
a/includes/LocalisationCache.php
b/includes/LocalisationCache.php
index
c44be13
..
1d0ccc5
100644
(file)
--- a/
includes/LocalisationCache.php
+++ b/
includes/LocalisationCache.php
@@
-163,12
+163,7
@@
class LocalisationCache {
$storeClass = 'LCStore_Accel';
break;
case 'detect':
- try {
- $c = wfGetCache( CACHE_ACCEL );
- $storeClass = 'LCStore_Accel';
- } catch( Exception $c ) {
- $storeClass = $wgCacheDirectory ? 'LCStore_CDB' : 'LCStore_DB';
- }
+ $storeClass = $wgCacheDirectory ? 'LCStore_CDB' : 'LCStore_DB';
break;
default:
throw new MWException(