From: Chad Horohoe Date: Tue, 24 Feb 2009 15:53:55 +0000 (+0000) Subject: NS_IMAGE -> NS_FILE X-Git-Tag: 1.31.0-rc.0~42704 X-Git-Url: http://git.cyclocoop.org/%27http:/code.google.com/p/ie7-js/%7Bplugin_url%20file=%24css%7D?a=commitdiff_plain;h=638315cb5d7d96ab55ca189d36422128858978e3;p=lhc%2Fweb%2Fwiklou.git NS_IMAGE -> NS_FILE --- 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;