comparison gpp/forums/unread.py @ 228:d77e0dc772ad

Implement #88; add option to create a new forum thread from a new calendar entry.
author Brian Neal <bgneal@gmail.com>
date Sun, 11 Jul 2010 21:03:41 +0000
parents e6d4dfdfbc64
children 7e19180b128d
comparison
equal deleted inserted replaced
227:423c39ee44e0 228:d77e0dc772ad
191 191
192 ####################################################################### 192 #######################################################################
193 193
194 def get_unread_topics(user): 194 def get_unread_topics(user):
195 """Returns a list of topics the user hasn't read yet.""" 195 """Returns a list of topics the user hasn't read yet."""
196 #import pdb; pdb.set_trace()
197 196
198 # This is only available to authenticated users 197 # This is only available to authenticated users
199 if not user.is_authenticated(): 198 if not user.is_authenticated():
200 return [] 199 return []
201 200