From e82a9ba4db5381af88e31b4a807308cea69dce6b Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 31 May 2007 00:35:07 +0000 Subject: [PATCH] *Add newFromArchiveName() --- includes/filerepo/LocalRepo.php | 4 ++++ 1 file changed, 4 insertions(+) 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 ); + } } -- 2.20.1