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

Commit 7e6cffe4 authored by Evan Prodromou's avatar Evan Prodromou

Correct formats for event list items

parent 0e4029ec
......@@ -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)) {
......
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