We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit e54eb911 authored by Brion Vibber's avatar Brion Vibber

backwards

parent d6c8c610
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment