Skip to content
Browse files

Removed a small useless piece of code from `contrib.auth`.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 26698bc commit 51b8f0a2402d56ec84c2f12045291c0f7e6862e6 @jphalip jphalip committed
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/contrib/auth/
1  django/contrib/auth/
@@ -154,7 +154,6 @@ def _user_has_perm(user, perm, obj):
def _user_has_module_perms(user, app_label):
- active = user.is_active
for backend in auth.get_backends():
if hasattr(backend, "has_module_perms"):
if backend.has_module_perms(user, app_label):

0 comments on commit 51b8f0a

Please sign in to comment.
Something went wrong with that request. Please try again.