forked from GNUsocial/gnu-social
RSVPs seem to be created now, just gotta fix CancelrsvpAction
This commit is contained in:
@@ -28,11 +28,7 @@
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET')) {
|
||||
// This check helps protect against security problems;
|
||||
// your code file can't be executed directly from the web.
|
||||
exit(1);
|
||||
}
|
||||
if (!defined('GNUSOCIAL')) { exit(1); }
|
||||
|
||||
/**
|
||||
* A form to RSVP for an event
|
||||
@@ -48,7 +44,7 @@ class RSVPForm extends Form
|
||||
{
|
||||
protected $event = null;
|
||||
|
||||
function __construct($event, $out=null)
|
||||
function __construct(Happening $event, $out=null)
|
||||
{
|
||||
parent::__construct($out);
|
||||
$this->event = $event;
|
||||
|
Reference in New Issue
Block a user