# HG changeset patch # User Marcin Kuzminski # Date 2011-11-18 13:35:32 # Node ID 23bf79f4e8d4e34c8f28935d245eb6228c8e917b # Parent 2d85e969d78aa3fa85db29fb8e914204f1063b29 remove cache from default user lookup diff --git a/rhodecode/model/user.py b/rhodecode/model/user.py --- a/rhodecode/model/user.py +++ b/rhodecode/model/user.py @@ -353,7 +353,7 @@ class UserModel(BaseModel): #====================================================================== # fetch default permissions #====================================================================== - default_user = self.get_by_username('default', cache=True) + default_user = self.get_by_username('default') default_perms = self.sa.query(UserRepoToPerm, Repository, Permission)\ .join((Repository, UserRepoToPerm.repository_id ==