r20437 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20436‎ | r20437 | r20438 >
Date:05:27, 14 March 2007
Author:aaron
Status:old
Tags:
Comment:
*Rename FSarchivedFile to ArchivedFile, add to autoloader
Modified paths:
  • /trunk/phase3/includes/AutoLoader.php (modified) (history)
  • /trunk/phase3/includes/Image.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/AutoLoader.php
@@ -95,6 +95,7 @@
9696 'HTMLCacheUpdateJob' => 'includes/HTMLCacheUpdate.php',
9797 'Http' => 'includes/HttpFunctions.php',
9898 'Image' => 'includes/Image.php',
 99+ 'ArchivedFile' => 'includes/Image.php',
99100 'IP' => 'includes/IP.php',
100101 'ThumbnailImage' => 'includes/Image.php',
101102 'ImageGallery' => 'includes/ImageGallery.php',
Index: trunk/phase3/includes/Image.php
@@ -2368,7 +2368,7 @@
23692369
23702370 } //class
23712371
2372 -class FSarchivedFile
 2372+class ArchivedFile
23732373 {
23742374 /**
23752375 * Returns a file object from the filearchive table
@@ -2381,7 +2381,7 @@
23822382 * @param $key, optional storage key
23832383 * @return ResultWrapper
23842384 */
2385 - function FSarchivedFile( $title, $id=0, $key='' ) {
 2385+ function ArchivedFile( $title, $id=0, $key='' ) {
23862386 if( !is_object( $title ) ) {
23872387 throw new MWException( 'Image constructor given bogus title.' );
23882388 }