diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-25 14:30:05 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-25 14:30:05 -0400 |
commit | 21e4fb864f834ae431edd9841bcca66751616859 (patch) | |
tree | 56d01d600e1479b0b2c1ddf3b322f56519f00914 /classes/Notice.php | |
parent | cba4b50e44c501b5f73ba91179a6c8424b81caa8 (diff) |
change DataObject_Cast to use sql_now
darcs-hash:20080825183005-84dde-c1d24a057d9545cc6d1f0dc21c5af4ea7316d8e9.gz
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 6aa8e375b..57adb7ef8 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -82,7 +82,7 @@ class Notice extends DB_DataObject $notice->profile_id = $profile_id; $notice->is_local = $is_local; $notice->reply_to = $reply_to; - $notice->created = DB_DataObject_Cast::dateTime(); + $notice->created = common_sql_now(); $notice->content = $content; $notice->rendered = common_render_content($notice->content, $notice); if ($source) { |