reformatting on RSVP.php

This commit is contained in:
Evan Prodromou 2011-03-10 10:14:09 -06:00
parent b653b2fb64
commit 39b308bf90

View File

@ -177,7 +177,8 @@ class RSVP extends Managed_DataObject
$content = sprintf(_('RSVPed %s for an event.'),
($result == RSVP::POSITIVE) ? _('positively') :
($result == RSVP::NEGATIVE) ? _('negatively') : _('possibly'));
($result == RSVP::NEGATIVE) ? _('negatively') :
_('possibly'));
$rendered = $content;
@ -231,7 +232,9 @@ class RSVP extends Managed_DataObject
static function forEvent($event)
{
$rsvps = array(RSVP::POSITIVE => array(), RSVP::NEGATIVE => array(), RSVP::POSSIBLE => array());
$rsvps = array(RSVP::POSITIVE => array(),
RSVP::NEGATIVE => array(),
RSVP::POSSIBLE => array());
$rsvp = new RSVP();