From: Aaron Schulz Date: Wed, 14 Mar 2007 05:27:26 +0000 (+0000) Subject: *Rename FSarchivedFile to ArchivedFile, add to autoloader X-Git-Tag: 1.31.0-rc.0~53750 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=9359dd0601fbbf315b7362ab82a5e4ea6ba3fbad;p=lhc%2Fweb%2Fwiklou.git *Rename FSarchivedFile to ArchivedFile, add to autoloader --- 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.' ); }