From fe4ec33ccd8d43b3f1c10e18b264497299c3aba0 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 10 Dec 2009 00:20:20 +0000 Subject: [PATCH] Removed $file->load() call from r57148: already called internally as needed --- includes/specials/SpecialUndelete.php | 1 - 1 file changed, 1 deletion(-) 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 ); -- 2.20.1