diff options
-rw-r--r-- | actions/replies.php | 2 | ||||
-rw-r--r-- | lib/util.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/actions/replies.php b/actions/replies.php index 29d01c4c9..a371f3787 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 7b59a7452..1cb24be04 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; |