backwards

This commit is contained in:
Brion Vibber 2011-03-10 13:45:31 -08:00
parent d6c8c61076
commit e54eb9117f

View File

@ -270,7 +270,7 @@ class PollPlugin extends MicroAppPlugin
} }
} }
function activityObjectFromNoticePoll($notice) function activityObjectFromNoticePollResponse($notice)
{ {
$object = new ActivityObject(); $object = new ActivityObject();
$object->id = $notice->uri; $object->id = $notice->uri;
@ -279,7 +279,7 @@ class PollPlugin extends MicroAppPlugin
$object->summary = $notice->content; $object->summary = $notice->content;
$object->link = $notice->bestUrl(); $object->link = $notice->bestUrl();
$response = Poll_response::getByNotice($notice); $response = Poll_response:getByNotice($notice);
$poll = $response->getPoll(); $poll = $response->getPoll();
/** /**
@ -308,7 +308,7 @@ class PollPlugin extends MicroAppPlugin
return $object; return $object;
} }
function activityObjectFromNoticePollResponse($notice) function activityObjectFromNoticePoll($notice)
{ {
$object = new ActivityObject(); $object = new ActivityObject();
$object->id = $notice->uri; $object->id = $notice->uri;