From: Aaron Schulz Date: Wed, 21 Sep 2011 20:51:26 +0000 (+0000) Subject: Made trimCache() protected X-Git-Tag: 1.31.0-rc.0~27496 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=910e2f14a6213e9adc9d7d20b9f758035cfb2552;p=lhc%2Fweb%2Fwiklou.git Made trimCache() protected --- diff --git a/includes/filerepo/RepoGroup.php b/includes/filerepo/RepoGroup.php index d487590884..3e59e39d77 100644 --- 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 );