Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1827
bug1370.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 8:11 PM
2014-11-21 20:11:38 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
bug1370.diff
View Options
Index: includes/Article.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Article.php,v
retrieving revision 1.290
diff -u -b -r1.290 Article.php
--- includes/Article.php 14 Mar 2005 10:06:28 -0000 1.290
+++ includes/Article.php 14 Mar 2005 21:06:19 -0000
@@ -726,8 +726,6 @@
$this->viewUpdates();
wfProfileOut( $fname );
-
- $wgUser->clearNotification( $this->mTitle );
}
/**
@@ -1847,7 +1845,10 @@
$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 );
}
+
}
/**
Index: includes/User.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/User.php,v
retrieving revision 1.125
diff -u -b -r1.125 User.php
--- includes/User.php 21 Feb 2005 12:23:49 -0000 1.125
+++ includes/User.php 14 Mar 2005 21:06:20 -0000
@@ -863,7 +863,7 @@
$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(),
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1408
Default Alt Text
bug1370.diff (1 KB)
Attached To
Mode
T3370: ENotif mails are not automatically reenabled after sent when watching users visits watched and notified page
Attached
Detach File
Event Timeline
Log In to Comment