created -> modified in Reply

darcs-hash:20080707063731-84dde-0ce24e15c33d1d12e4e2ea1e05129ae6de84cb0e.gz
This commit is contained in:
Evan Prodromou 2008-07-07 02:37:31 -04:00
parent af2fdd0c7b
commit dcb6ee8544
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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;