summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
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);