From: Aaron Schulz Date: Thu, 31 May 2007 00:35:07 +0000 (+0000) Subject: *Add newFromArchiveName() X-Git-Tag: 1.31.0-rc.0~52756 X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=commitdiff_plain;h=e82a9ba4db5381af88e31b4a807308cea69dce6b;p=lhc%2Fweb%2Fwiklou.git *Add newFromArchiveName() --- diff --git a/includes/filerepo/LocalRepo.php b/includes/filerepo/LocalRepo.php index 62d937d90f..4903015e6c 100644 --- a/includes/filerepo/LocalRepo.php +++ b/includes/filerepo/LocalRepo.php @@ -23,4 +23,8 @@ class LocalRepo extends FSRepo { throw new MWException( __METHOD__.': invalid row' ); } } + + function newFromArchiveName( $title, $archiveName ) { + return OldLocalFile::newFromArchiveName( $title, $this, $archiveName ); + } }