Remove bogus variable call
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 20 Mar 2008 22:15:20 +0000 (22:15 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 20 Mar 2008 22:15:20 +0000 (22:15 +0000)
includes/SpecialUndelete.php

index fb7c43b..f56beb4 100644 (file)
@@ -1142,7 +1142,7 @@ class UndeleteForm {
                        $revdel = SpecialPage::getTitleFor( 'Revisiondelete' );
                        if( !$file->userCan(File::DELETED_RESTRICTED ) ) {
                        // If revision was hidden from sysops
-                               $del = $this->messages['rev-delundel'];
+                               $del = wfMsgHtml('rev-delundel');
                        } else {
                                $del = $sk->makeKnownLinkObj( $revdel,
                                        wfMsgHtml('rev-delundel'),