backwards

This commit is contained in:
Brion Vibber 2011-03-10 13:45:31 -08:00
parent d6c8c61076
commit e54eb9117f
1 changed files with 3 additions and 3 deletions

View File

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