From 10b048af346f5534a5d47accbe9ac1c59be886f0 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Sat, 12 Dec 2009 14:52:01 +0000 Subject: [PATCH] I fail to see why we need to invalidate cache on watchlist edits here, do we store full watchlist in user object? --- includes/User.php | 2 -- 1 file changed, 2 deletions(-) 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(); } /** -- 2.20.1