Don't check $wgEnotifWatchlist here
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 20 May 2008 21:58:48 +0000 (21:58 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 20 May 2008 21:58:48 +0000 (21:58 +0000)
includes/SpecialWatchlist.php

index a9ab3f9..bb5e7ba 100644 (file)
@@ -154,7 +154,7 @@ function wfSpecialWatchlist( $par ) {
        if( $wgUser->getOption( 'enotifwatchlistpages' ) && $wgEnotifWatchlist) {
                $header .= wfMsg( 'wlheader-enotif' ) . "\n";
        }
-       if ( $wgEnotifWatchlist || $wgShowUpdatedMarker ) {
+       if ( $wgShowUpdatedMarker ) {
                $header .= wfMsg( 'wlheader-showupdated' ) . "\n";
        }
 
@@ -175,7 +175,7 @@ function wfSpecialWatchlist( $par ) {
        if( ( $lag = $dbr->getLag() ) > 0 )
                $wgOut->showLagWarning( $lag );
 
-       if ( $wgEnotifWatchlist || $wgShowUpdatedMarker ) {
+       if ( $wgShowUpdatedMarker ) {
                $wgOut->addHTML( '<form action="' .
                        $specialTitle->escapeLocalUrl() .
                        '" method="post"><input type="submit" name="dummy" value="' .