]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
created -> modified in Reply
authorEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 06:37:31 +0000 (02:37 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 06:37:31 +0000 (02:37 -0400)
darcs-hash:20080707063731-84dde-0ce24e15c33d1d12e4e2ea1e05129ae6de84cb0e.gz

actions/replies.php
lib/util.php

index 29d01c4c9d9fff6209cc85a592f3db223c88c927..a371f3787b0e10e42117b0da01c0c1f2d92c1eff 100644 (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;
 
index 7b59a7452f4fe91194addec2de1e791530e4d494..1cb24be04ee7fbe3733a5eeb0b8d4d4c748af067 100644 (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;