summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 43323eb42..13e584452 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -742,6 +742,7 @@ function drupal_anonymous_user($session = '') {
$user->roles = array();
$user->roles[DRUPAL_ANONYMOUS_RID] = 'anonymous user';
$user->session = $session;
+ $user->cache = 0;
return $user;
}