summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-07 02:37:31 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-07 02:37:31 -0400
commitdcb6ee85448c555c43d8a0260d85f901a662df7b (patch)
tree5025240fbfd28c95d61d97f3b9f7d5993bc4e79a
parentaf2fdd0c7ba78cb53c9d1919944faba3bdeaac53 (diff)
created -> modified in Reply
darcs-hash:20080707063731-84dde-0ce24e15c33d1d12e4e2ea1e05129ae6de84cb0e.gz
-rw-r--r--actions/replies.php2
-rw-r--r--lib/util.php1
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;