$this->viewUpdates();
wfProfileOut( $fname );
-
- $wgUser->clearNotification( $this->mTitle );
}
/**
$this->mTitle->getText() == $wgUser->getName()) {
require_once( 'UserTalkUpdate.php' );
$u = new UserTalkUpdate( 0, $this->mTitle->getNamespace(), $this->mTitle->getDBkey(), false, false, false );
+ } else {
+ $wgUser->clearNotification( $this->mTitle );
}
+
}
/**
$dbw =& wfGetDB( DB_MASTER );
$success = $dbw->update( 'watchlist',
array( /* SET */
- 'wl_notificationtimestamp' => $dbw->timestamp(0)
+ 'wl_notificationtimestamp' => 0
), array( /* WHERE */
'wl_title' => $title->getDBkey(),
'wl_namespace' => $title->getNamespace(),