wfEmptyMsg() doesn't require a second parameter anymore
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 6 Jan 2011 13:07:51 +0000 (13:07 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 6 Jan 2011 13:07:51 +0000 (13:07 +0000)
includes/specials/SpecialRecentchanges.php

index c012bec..2f13fe5 100644 (file)
@@ -671,7 +671,7 @@ class SpecialRecentChanges extends IncludableSpecialPage {
                $options = $nondefaults + $defaults;
 
                $note = '';
-               if( !wfEmptyMsg( 'rclegend', wfMsg('rclegend') ) ) {
+               if( !wfEmptyMsg( 'rclegend' ) ) {
                        $note .= '<div class="mw-rclegend">' . wfMsgExt( 'rclegend', array('parseinline') ) . "</div>\n";
                }
                if( $options['from'] ) {