From 6ec9df30cdace9f71dbebfeadfcc0271407b5684 Mon Sep 17 00:00:00 2001 From: Marius Hoch Date: Fri, 5 Oct 2012 18:52:57 +0200 Subject: [PATCH] Clear the cached edit count within User::clearInstanceCache (After a question in r26457): Let User::clearInstanceCache clear out the cached edit count as well, as a user session can be open for a long time. Change-Id: I4444f352e3b5df7b24f37668a5f1fbf9d64d6978 --- includes/User.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/User.php b/includes/User.php index 8216914266..4ab90ed399 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1204,6 +1204,7 @@ class User { $this->mEffectiveGroups = null; $this->mImplicitGroups = null; $this->mOptions = null; + $this->mEditCount = null; if ( $reloadFrom ) { $this->mLoadedItems = array(); -- 2.20.1