r97765 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97764‎ | r97765 | r97766 >
Date:20:51, 21 September 2011
Author:aaron
Status:ok
Tags:
Comment:
Made trimCache() protected
Modified paths:
  • /trunk/phase3/includes/filerepo/RepoGroup.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/RepoGroup.php
@@ -377,7 +377,7 @@
378378 /**
379379 * Limit cache memory
380380 */
381 - function trimCache() {
 381+ protected function trimCache() {
382382 while ( count( $this->cache ) >= self::MAX_CACHE_SIZE ) {
383383 reset( $this->cache );
384384 $key = key( $this->cache );

Status & tagging log