From: Aaron Schulz Date: Thu, 22 May 2008 01:12:51 +0000 (+0000) Subject: Respect $wgShowUpdatedMarker X-Git-Tag: 1.31.0-rc.0~47479 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=c0572370c3f2c61553f8c836fbcfc17f44178b89;p=lhc%2Fweb%2Fwiklou.git Respect $wgShowUpdatedMarker --- diff --git a/includes/User.php b/includes/User.php index 1804127679..ea2c2f36b7 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1966,7 +1966,7 @@ class User { * the next change of the page if it's watched etc. */ function clearNotification( &$title ) { - global $wgUser, $wgUseEnotif; + global $wgUser, $wgUseEnotif, $wgShowUpdatedMarker; # Do nothing if the database is locked to writes if( wfReadOnly() ) { @@ -1980,7 +1980,7 @@ class User { $this->setNewtalk( false ); } - if( !$wgUseEnotif ) { + if( !$wgUseEnotif && !$wgShowUpdatedMarker ) { return; }