]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
save created date
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 17 Sep 2008 19:16:52 +0000 (15:16 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 17 Sep 2008 19:16:52 +0000 (15:16 -0400)
darcs-hash:20080917191652-5ed1f-f066e906146146cfe0ffb80055ea15d71f491f3c.gz

classes/Message.php

index d44c95464bec9b80d51cd7c2088015a9dbd56ad8..a903161f781b64c73ccb41d1293797cf8f08cb3f 100644 (file)
@@ -43,6 +43,7 @@ class Message extends DB_DataObject
                $msg->to_profile = $to;
                $msg->content = $content;
                $msg->rendered = common_render_text($content);
+               $msg->created = common_sql_now();
                $msg->source = $source;
                
                $result = $msg->insert();