From 35d17146213228445b0f30548aca01c9e1a71154 Mon Sep 17 00:00:00 2001 From: zach Date: Fri, 15 Aug 2008 14:53:17 -0400 Subject: Twitter-compatible API: support for new in_reply_to_status_id in statuses/update darcs-hash:20080815185317-ca946-11c3f9f7255180d5d6ea7b115b3e33b2abb7fe93.gz --- classes/Notice.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes/Notice.php') diff --git a/classes/Notice.php b/classes/Notice.php index cb220394d..6aa8e375b 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -76,11 +76,12 @@ class Notice extends DB_DataObject return true; } - static function saveNew($profile_id, $content, $source=NULL, $is_local=1) { + static function saveNew($profile_id, $content, $source=NULL, $is_local=1, $reply_to=NULL) { $notice = new Notice(); $notice->profile_id = $profile_id; $notice->is_local = $is_local; + $notice->reply_to = $reply_to; $notice->created = DB_DataObject_Cast::dateTime(); $notice->content = $content; $notice->rendered = common_render_content($notice->content, $notice); -- cgit v1.2.3-54-g00ecf