http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97765

Revision: 97765
Author:   aaron
Date:     2011-09-21 20:51:26 +0000 (Wed, 21 Sep 2011)
Log Message:
-----------
Made trimCache() protected

Modified Paths:
--------------
    trunk/phase3/includes/filerepo/RepoGroup.php

Modified: trunk/phase3/includes/filerepo/RepoGroup.php
===================================================================
--- trunk/phase3/includes/filerepo/RepoGroup.php        2011-09-21 20:42:26 UTC 
(rev 97764)
+++ trunk/phase3/includes/filerepo/RepoGroup.php        2011-09-21 20:51:26 UTC 
(rev 97765)
@@ -377,7 +377,7 @@
        /**
         * Limit cache memory
         */
-       function trimCache() {
+       protected function trimCache() {
                while ( count( $this->cache ) >= self::MAX_CACHE_SIZE ) {
                        reset( $this->cache );
                        $key = key( $this->cache );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to