From: Domas Mituzas Date: Sat, 12 Dec 2009 14:52:01 +0000 (+0000) Subject: I fail to see why we need to invalidate cache on watchlist edits here, do we store... X-Git-Tag: 1.31.0-rc.0~38560 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=10b048af346f5534a5d47accbe9ac1c59be886f0;p=lhc%2Fweb%2Fwiklou.git I fail to see why we need to invalidate cache on watchlist edits here, do we store full watchlist in user object? --- diff --git a/includes/User.php b/includes/User.php index ffe543331e..f3e239b269 100644 --- 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(); } /**