diff options
Diffstat (limited to 'includes/filerepo/ForeignDBFile.php')
-rw-r--r-- | includes/filerepo/ForeignDBFile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/filerepo/ForeignDBFile.php b/includes/filerepo/ForeignDBFile.php index eed26048..5fb432c8 100644 --- a/includes/filerepo/ForeignDBFile.php +++ b/includes/filerepo/ForeignDBFile.php @@ -13,7 +13,7 @@ class ForeignDBFile extends LocalFile { * Do not call this except from inside a repo class. */ static function newFromRow( $row, $repo ) { - $title = Title::makeTitle( NS_IMAGE, $row->img_name ); + $title = Title::makeTitle( NS_FILE, $row->img_name ); $file = new self( $title, $repo ); $file->loadFromRow( $row ); return $file; |