}
}
- function activityObjectFromNoticePoll($notice)
+ function activityObjectFromNoticePollResponse($notice)
{
$object = new ActivityObject();
$object->id = $notice->uri;
$object->summary = $notice->content;
$object->link = $notice->bestUrl();
- $response = Poll_response::getByNotice($notice);
+ $response = Poll_response:getByNotice($notice);
$poll = $response->getPoll();
/**
return $object;
}
- function activityObjectFromNoticePollResponse($notice)
+ function activityObjectFromNoticePoll($notice)
{
$object = new ActivityObject();
$object->id = $notice->uri;