Remove commented-out code.

This commit is contained in:
Ben Rog-Wilhelm 2023-09-11 02:25:34 -05:00 committed by GitHub
parent 7f488f5308
commit 1e0d41af1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -652,7 +652,6 @@ def u_username(username, v=None):
if v and v.id != u.id and (u.patron or u.admin_level > 1):
view = g.db.query(ViewerRelationship).filter_by(viewer_id=v.id, user_id=u.id).one_or_none()
# if view: view.last_view_datetimez = int(time.time())
if view: view.last_view_datetimez = datetime.utcnow()
else: view = ViewerRelationship(viewer_id=v.id, user_id=u.id)