From 9359dd0601fbbf315b7362ab82a5e4ea6ba3fbad Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 14 Mar 2007 05:27:26 +0000 Subject: [PATCH] *Rename FSarchivedFile to ArchivedFile, add to autoloader --- includes/AutoLoader.php | 1 + includes/Image.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index d7f684f443..6ec55ed4cb 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -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', diff --git a/includes/Image.php b/includes/Image.php index c4d237b076..8da3bbff01 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -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.' ); } -- 2.20.1