diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
commit | 9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch) | |
tree | 46d1a0dee7febef5c2d57a9f7b972be16a163b3d /includes/filerepo/ArchivedFile.php | |
parent | 78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff) |
update to MediaWiki 1.17.0
Diffstat (limited to 'includes/filerepo/ArchivedFile.php')
-rw-r--r-- | includes/filerepo/ArchivedFile.php | 18 |
1 files changed, 12 insertions, 6 deletions
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 @@ <?php +/** + * Deleted file in the 'filearchive' table + * + * @file + * @ingroup FileRepo + */ /** - * @ingroup Media + * Class representing a row of the 'filearchive' table + * + * @ingroup FileRepo */ -class ArchivedFile -{ +class ArchivedFile { /**#@+ * @private */ @@ -29,7 +36,7 @@ class ArchivedFile /**#@-*/ - function ArchivedFile( $title, $id=0, $key='' ) { + function __construct( $title, $id=0, $key='' ) { $this->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; } /** |