From: Marius Hoch Date: Fri, 5 Oct 2012 16:52:57 +0000 (+0200) Subject: Clear the cached edit count within User::clearInstanceCache X-Git-Tag: 1.31.0-rc.0~22142 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=6ec9df30cdace9f71dbebfeadfcc0271407b5684;p=lhc%2Fweb%2Fwiklou.git 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 --- 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();