I fail to see why we need to invalidate cache on watchlist edits here, do we store...
authorDomas Mituzas <midom@users.mediawiki.org>
Sat, 12 Dec 2009 14:52:01 +0000 (14:52 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Sat, 12 Dec 2009 14:52:01 +0000 (14:52 +0000)
includes/User.php

index ffe5433..f3e239b 100644 (file)
@@ -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();
        }
 
        /**