diff options
author | Evan Prodromou <evan@status.net> | 2010-09-13 16:27:02 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-09-13 16:27:02 -0400 |
commit | 9f4891568f458a8135d59820b47b91e3f89ab93b (patch) | |
tree | 7886d041158c9ca1d578137dd085b7d6d9c78409 /classes | |
parent | d207f19d227c675329db3f339d865c9b45219af2 (diff) |
bugs in function calls in Notice::asActivity
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Notice.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 9a6f180e5..0539ca3b1 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -1218,16 +1218,16 @@ class Notice extends Memcached_DataObject $act = new Activity(); - $act->actor = Activity::fromProfile($profile); + $act->actor = ActivityObject::fromProfile($profile); $act->verb = ActivityVerb::POST; $act->objects[] = ActivityObject::fromNotice($this); $act->time = strtotime($this->created); $act->link = $this->bestUrl(); - $act->content = common_xml_safe_string($this->rendered); + $act->content = common_xml_safe_str($this->rendered); $act->id = $this->uri; - $act->title = common_xml_safe_string($this->content); + $act->title = common_xml_safe_str($this->content); $ctx = new ActivityContext(); |