From: Aaron Schulz Date: Thu, 10 Dec 2009 00:20:20 +0000 (+0000) Subject: Removed $file->load() call from r57148: already called internally as needed X-Git-Tag: 1.31.0-rc.0~38583 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=fe4ec33ccd8d43b3f1c10e18b264497299c3aba0;p=lhc%2Fweb%2Fwiklou.git Removed $file->load() call from r57148: already called internally as needed --- diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 86d01c9660..916f09235b 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -638,7 +638,6 @@ class UndeleteForm { } if( $this->mFile !== null ) { $file = new ArchivedFile( $this->mTargetObj, '', $this->mFile ); - $file->load(); // Check if user is allowed to see this file if ( !$file->exists() ) { $wgOut->addWikiMsg( 'filedelete-nofile', $this->mFile );