We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 21e4fb86 authored by Evan Prodromou's avatar Evan Prodromou

change DataObject_Cast to use sql_now

darcs-hash:20080825183005-84dde-c1d24a057d9545cc6d1f0dc21c5af4ea7316d8e9.gz
parent cba4b50e
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment