*Rename FSarchivedFile to ArchivedFile, add to autoloader
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 Mar 2007 05:27:26 +0000 (05:27 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 Mar 2007 05:27:26 +0000 (05:27 +0000)
includes/AutoLoader.php
includes/Image.php

index d7f684f..6ec55ed 100644 (file)
@@ -95,6 +95,7 @@ function __autoload($className) {
                'HTMLCacheUpdateJob' => 'includes/HTMLCacheUpdate.php',
                'Http' => 'includes/HttpFunctions.php',
                'Image' => 'includes/Image.php',
+               'ArchivedFile' => 'includes/Image.php',
                'IP' => 'includes/IP.php',
                'ThumbnailImage' => 'includes/Image.php',
                'ImageGallery' => 'includes/ImageGallery.php',
index c4d237b..8da3bbf 100644 (file)
@@ -2368,7 +2368,7 @@ class Image
 
 } //class
 
-class FSarchivedFile
+class ArchivedFile
 {
        /**
         * Returns a file object from the filearchive table
@@ -2381,7 +2381,7 @@ class FSarchivedFile
         * @param $key, optional storage key
         * @return ResultWrapper
         */
-       function FSarchivedFile( $title, $id=0, $key='' ) {
+       function ArchivedFile( $title, $id=0, $key='' ) {
                if( !is_object( $title ) ) {
                        throw new MWException( 'Image constructor given bogus title.' );
                }