Correct formats for event list items
This commit is contained in:
parent
0e4029ecb6
commit
7e6cffe4cf
@ -55,8 +55,11 @@ class EventListItem extends NoticeListItemAdapter
|
||||
$this->nli->out->elementEnd('div');
|
||||
}
|
||||
|
||||
function showContent($notice, $out)
|
||||
function showContent()
|
||||
{
|
||||
$notice = $this->nli->notice;
|
||||
$out = $this->nli->out;
|
||||
|
||||
$profile = $notice->getProfile();
|
||||
$event = Happening::fromNotice($notice);
|
||||
|
||||
|
@ -55,8 +55,11 @@ class RSVPListItem extends NoticeListItemAdapter
|
||||
$this->nli->out->elementEnd('div');
|
||||
}
|
||||
|
||||
function showContent($notice, $out)
|
||||
function showContent()
|
||||
{
|
||||
$notice = $this->nli->notice;
|
||||
$out = $this->nli->out;
|
||||
|
||||
$rsvp = RSVP::fromNotice($notice);
|
||||
|
||||
if (empty($rsvp)) {
|
||||
|
Loading…
Reference in New Issue
Block a user