save created date

darcs-hash:20080917191652-5ed1f-f066e906146146cfe0ffb80055ea15d71f491f3c.gz
This commit is contained in:
Evan Prodromou 2008-09-17 15:16:52 -04:00
parent 823737891b
commit a4cca01451
1 changed files with 1 additions and 0 deletions

View 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();