From 21e4fb864f834ae431edd9841bcca66751616859 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 25 Aug 2008 14:30:05 -0400 Subject: [PATCH] change DataObject_Cast to use sql_now darcs-hash:20080825183005-84dde-c1d24a057d9545cc6d1f0dc21c5af4ea7316d8e9.gz --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Notice.php b/classes/Notice.php index 6aa8e375b0..57adb7ef82 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) { -- 2.39.5