From 3b154e1ed270bcaa6cb11c7895eda6858238f79d Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Thu, 24 Apr 2008 13:41:05 +0000 Subject: [PATCH] Two new cache vars in User * Cache mRights. If a hook adds some rights, then that hook needs to be called again and again without caching (e.g. upcoming changes to CentralAuth to add global groups) * Cache mEmail. --- includes/User.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/User.php b/includes/User.php index 66d07b0863..7ab5b0761a 100644 --- a/includes/User.php +++ b/includes/User.php @@ -96,6 +96,7 @@ class User { 'mOptions', 'mTouched', 'mToken', + 'mEmail', 'mEmailAuthenticated', 'mEmailToken', 'mEmailTokenExpires', @@ -103,6 +104,7 @@ class User { 'mEditCount', # user_group table 'mGroups', + 'mRights', ); /** -- 2.20.1