From 9db190c7e736ec8d063187d4241b59feaf7dc2d1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 22 Jun 2011 11:28:20 +0200 Subject: update to MediaWiki 1.17.0 --- includes/filerepo/ArchivedFile.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'includes/filerepo/ArchivedFile.php') diff --git a/includes/filerepo/ArchivedFile.php b/includes/filerepo/ArchivedFile.php index ffc06303..ecc09978 100644 --- a/includes/filerepo/ArchivedFile.php +++ b/includes/filerepo/ArchivedFile.php @@ -1,10 +1,17 @@ id = -1; $this->title = false; $this->name = false; @@ -140,7 +147,6 @@ class ArchivedFile $this->deleted = $row->fa_deleted; } else { throw new MWException( 'This title does not correspond to an image page.' ); - return; } $this->dataLoaded = true; $this->exists = true; @@ -219,7 +225,7 @@ class ArchivedFile * Return the FileStore storage group */ public function getGroup() { - return $file->group; + return $this->group; } /** -- cgit v1.2.2