Correct list of parameters for Happening::saveNew()

This commit is contained in:
Evan Prodromou 2011-07-01 23:04:44 -04:00
parent 66edc023d7
commit a0ed80a5d8

View File

@ -181,12 +181,13 @@ class EventPlugin extends MicroappPlugin
switch ($activity->verb) { switch ($activity->verb) {
case ActivityVerb::POST: case ActivityVerb::POST:
$notice = Happening::saveNew($actor, $notice = Happening::saveNew($actor,
$start_time, $start_time,
$end_time, $end_time,
$happeningObj->title, $happeningObj->title,
null, null,
$happeningObj->summary, $happeningObj->summary,
$options); null,
$options);
break; break;
case RSVP::POSITIVE: case RSVP::POSITIVE:
case RSVP::NEGATIVE: case RSVP::NEGATIVE: