Removed $file->load() call from r57148: already called internally as needed
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 10 Dec 2009 00:20:20 +0000 (00:20 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 10 Dec 2009 00:20:20 +0000 (00:20 +0000)
includes/specials/SpecialUndelete.php

index 86d01c9..916f092 100644 (file)
@@ -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 );