From 638315cb5d7d96ab55ca189d36422128858978e3 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 24 Feb 2009 15:53:55 +0000 Subject: [PATCH] NS_IMAGE -> NS_FILE --- includes/filerepo/ForeignAPIRepo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 23572a4d9d..e63e4a6ba8 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -120,7 +120,7 @@ class ForeignAPIRepo extends FileRepo { $ret = array(); if ( isset( $results['query']['allimages'] ) ) { foreach ( $results['query']['allimages'] as $img ) { - $ret[] = new ForeignAPIFile( Title::makeTitle( NS_IMAGE, $img['name'] ), $this, $img ); + $ret[] = new ForeignAPIFile( Title::makeTitle( NS_FILE, $img['name'] ), $this, $img ); } } return $ret; -- 2.20.1