Mercurial > public > sg101
diff forums/tools.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 | b6d6c9e37fae |
children | c6c3ba5cf6eb |
line wrap: on
line diff
--- a/forums/tools.py Sun May 18 17:43:37 2014 -0500 +++ b/forums/tools.py Fri May 23 15:10:11 2014 -0500 @@ -118,7 +118,7 @@ creator has that option set in their profile. """ - profile = post.user.get_profile() + profile = post.user.profile if profile.auto_favorite: post.topic.bookmarkers.add(post.user) @@ -129,6 +129,6 @@ creator has that option set in their profile. """ - profile = post.user.get_profile() + profile = post.user.profile if profile.auto_subscribe: post.topic.subscribers.add(post.user)