Made trimCache() protected
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 21 Sep 2011 20:51:26 +0000 (20:51 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 21 Sep 2011 20:51:26 +0000 (20:51 +0000)
includes/filerepo/RepoGroup.php

index d487590..3e59e39 100644 (file)
@@ -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 );