##// END OF EJS Templates
Removed user last access time update to speed up page load.
neko259 -
r196:005f6ba5 default
parent child Browse files
Show More
@@ -342,8 +342,10 b' def _get_user(request):'
342 session['user_id'] = user.id
342 session['user_id'] = user.id
343 else:
343 else:
344 user = User.objects.get(id=session['user_id'])
344 user = User.objects.get(id=session['user_id'])
345 user.last_access_time = timezone.now()
345
346 user.save()
346 # TODO We need to determine if we need this and increas the performance
347 #user.last_access_time = timezone.now()
348 #user.save()
347
349
348 return user
350 return user
349
351
General Comments 0
You need to be logged in to leave comments. Login now