From 179c905ef1358924ef126168926ff0779f90c145 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 27 Aug 2011 20:59:28 +0000 Subject: [PATCH] Per Nikerabbit, fix for r92231: this was the wrong object --- includes/specials/SpecialEditWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index 832d0c73b1..78255e9f2c 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -150,7 +150,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { } } else { $this->clearWatchlist(); - $this->getLang()->invalidateCache(); + $this->getUser()->invalidateCache(); $this->successMessage .= wfMessage( 'watchlistedit-raw-removed', $this->getLang()->formatNum( count( $current ) ) -- 2.20.1