dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bbc998
)
I fail to see why we need to invalidate cache on watchlist edits here, do we store...
author
Domas Mituzas
<midom@users.mediawiki.org>
Sat, 12 Dec 2009 14:52:01 +0000
(14:52 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Sat, 12 Dec 2009 14:52:01 +0000
(14:52 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
ffe5433
..
f3e239b
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-2264,7
+2264,6
@@
class User {
function addWatch( $title ) {
$wl = WatchedItem::fromUserTitle( $this, $title );
$wl->addWatch();
- $this->invalidateCache();
}
/**
@@
-2274,7
+2273,6
@@
class User {
function removeWatch( $title ) {
$wl = WatchedItem::fromUserTitle( $this, $title );
$wl->removeWatch();
- $this->invalidateCache();
}
/**