From dcb6ee85448c555c43d8a0260d85f901a662df7b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 7 Jul 2008 02:37:31 -0400 Subject: [PATCH] created -> modified in Reply darcs-hash:20080707063731-84dde-0ce24e15c33d1d12e4e2ea1e05129ae6de84cb0e.gz --- actions/replies.php | 2 +- lib/util.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/actions/replies.php b/actions/replies.php index 29d01c4c9d..a371f3787b 100644 --- a/actions/replies.php +++ b/actions/replies.php @@ -71,7 +71,7 @@ class RepliesAction extends StreamAction { $reply->profile_id = $profile->id; - $reply->orderBy('created DESC'); + $reply->orderBy('modified DESC'); $page = ($this->arg('page')) ? ($this->arg('page')+0) : 1; diff --git a/lib/util.php b/lib/util.php index 7b59a7452f..1cb24be04e 100644 --- a/lib/util.php +++ b/lib/util.php @@ -844,7 +844,6 @@ function common_save_replies($notice) { $reply = new Reply(); $reply->notice_id = $notice->id; $reply->profile_id = $recipient->id; - $reply->created = DB_DataObject_Cast::dateTime(); if ($reply_for) { $recipient_notice = $reply_for->getCurrentNotice($notice->created); $reply->replied_id = $recipient_notice->id; -- 2.39.5