created -> modified in Reply
darcs-hash:20080707063731-84dde-0ce24e15c33d1d12e4e2ea1e05129ae6de84cb0e.gz
This commit is contained in:
parent
af2fdd0c7b
commit
dcb6ee8544
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user