From: Alexandre Emsenhuber Date: Sat, 27 Aug 2011 20:59:28 +0000 (+0000) Subject: Per Nikerabbit, fix for r92231: this was the wrong object X-Git-Tag: 1.31.0-rc.0~28042 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=179c905ef1358924ef126168926ff0779f90c145;p=lhc%2Fweb%2Fwiklou.git Per Nikerabbit, fix for r92231: this was the wrong object --- 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 ) )