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 = '';
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