From 910e2f14a6213e9adc9d7d20b9f758035cfb2552 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 21 Sep 2011 20:51:26 +0000 Subject: [PATCH] Made trimCache() protected --- includes/filerepo/RepoGroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1