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

Commit 3edc200b authored by chimo's avatar chimo

PollListItem: Use showNotice args

parent 850d6879
......@@ -51,11 +51,8 @@ class PollListItem extends NoticeListItemAdapter
const POLL_OBJECT = 'http://activityschema.org/object/poll';
const POLL_RESPONSE_OBJECT = 'http://activityschema.org/object/poll-response';
function showNotice()
function showNotice(Notice $notice, $out)
$notice = $this->nli->notice;
$out = $this->nli->out;
switch ($notice->object_type) {
case self::POLL_OBJECT:
return $this->showNoticePoll($notice, $out);
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