diff bio/badges.py @ 789:9e803323a0d0

Removing AUTH_PROFILE_MODULE and get_profile().
author Brian Neal <bgneal@gmail.com>
date Fri, 23 May 2014 15:10:11 -0500
parents ee87ea74d46b
children 5892c05886a9
line wrap: on
line diff
--- a/bio/badges.py	Sun May 18 17:43:37 2014 -0500
+++ b/bio/badges.py	Fri May 23 15:10:11 2014 -0500
@@ -21,7 +21,7 @@
         logging.error("Can't award badge with numeric_id = %d", badge_id)
         return
 
-    profile = user.get_profile()
+    profile = user.profile
 
     # Does the user already have badges of this type?
     try: