summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-08-15 14:53:17 -0400
committerzach <zach@copley.name>2008-08-15 14:53:17 -0400
commit35d17146213228445b0f30548aca01c9e1a71154 (patch)
tree3fb1cd320e7f69a3a55b984cdac97a06b943aac5 /classes/Notice.php
parenta95242bd1d59d87481bb56c9451a348361fc2350 (diff)
Twitter-compatible API: support for new in_reply_to_status_id in statuses/update
darcs-hash:20080815185317-ca946-11c3f9f7255180d5d6ea7b115b3e33b2abb7fe93.gz
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php3
1 files changed, 2 insertions, 1 deletions
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);