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:
a699901
)
Made trimCache() protected
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 21 Sep 2011 20:51:26 +0000
(20:51 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 21 Sep 2011 20:51:26 +0000
(20:51 +0000)
includes/filerepo/RepoGroup.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/RepoGroup.php
b/includes/filerepo/RepoGroup.php
index
d487590
..
3e59e39
100644
(file)
--- a/
includes/filerepo/RepoGroup.php
+++ b/
includes/filerepo/RepoGroup.php
@@
-377,7
+377,7
@@
class RepoGroup {
/**
* Limit cache memory
*/
- function trimCache() {
+
protected
function trimCache() {
while ( count( $this->cache ) >= self::MAX_CACHE_SIZE ) {
reset( $this->cache );
$key = key( $this->cache );