*Add newFromArchiveName()
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 31 May 2007 00:35:07 +0000 (00:35 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 31 May 2007 00:35:07 +0000 (00:35 +0000)
includes/filerepo/LocalRepo.php

index 62d937d..4903015 100644 (file)
@@ -23,4 +23,8 @@ class LocalRepo extends FSRepo {
                        throw new MWException( __METHOD__.': invalid row' );
                }
        }
+       
+       function newFromArchiveName( $title, $archiveName ) {
+               return OldLocalFile::newFromArchiveName( $title, $this, $archiveName );
+       }
 }