diff --git a/drama/classes/user.py b/drama/classes/user.py index f57a33f2c5..99b196efb4 100644 --- a/drama/classes/user.py +++ b/drama/classes/user.py @@ -540,7 +540,6 @@ class User(Base, Stndrd, Age_times): if not self.has_badge(badge.id): new_badge = Badge(user_id=self.id, badge_id=badge.id, - created_utc=int(time.time()) ) g.db.add(new_badge) diff --git a/drama/mail/mail.py b/drama/mail/mail.py index 1e6073cd28..0d67ad6e72 100644 --- a/drama/mail/mail.py +++ b/drama/mail/mail.py @@ -90,7 +90,6 @@ def activate(v): if not any([b.badge_id == 2 for b in user.badges]): mail_badge = Badge(user_id=user.id, badge_id=2, - created_utc=time.time()) g.db.add(mail_badge) g.db.add(user) diff --git a/drama/routes/admin.py b/drama/routes/admin.py index 687e8f03c2..2679f04594 100644 --- a/drama/routes/admin.py +++ b/drama/routes/admin.py @@ -166,7 +166,6 @@ def badge_grant_post(v): new_badge = Badge(badge_id=badge_id, user_id=user.id, - created_utc=int(time.time()) ) desc = request.form.get("description") diff --git a/drama/routes/flagging.py b/drama/routes/flagging.py index 156dd072c1..4e51cf5ae6 100644 --- a/drama/routes/flagging.py +++ b/drama/routes/flagging.py @@ -21,7 +21,6 @@ def api_flag_post(pid, v): flag = Flag(post_id=post.id, user_id=v.id, reason=reason, - created_utc=int(time.time()) ) @@ -48,7 +47,6 @@ def api_flag_comment(cid, v): flag = CommentFlag(comment_id=comment.id, user_id=v.id, reason=reason, - created_utc=int(time.time()) ) g.db.add(flag) diff --git a/drama/routes/settings.py b/drama/routes/settings.py index 4429e38371..4c50c25f34 100644 --- a/drama/routes/settings.py +++ b/drama/routes/settings.py @@ -459,7 +459,6 @@ def settings_block_user(v): new_block = UserBlock(user_id=v.id, target_id=user.id, - created_utc=int(time.time()) ) g.db.add(new_block) diff --git a/drama/templates/comments.html b/drama/templates/comments.html index 1ec6b09740..21820d13b4 100644 --- a/drama/templates/comments.html +++ b/drama/templates/comments.html @@ -422,9 +422,7 @@