RSVPs seem to be created now, just gotta fix CancelrsvpAction

This commit is contained in:
Mikael Nordfeldth
2016-01-19 01:10:06 +01:00
parent 73992a1ed8
commit 84dda697d6
5 changed files with 98 additions and 256 deletions

View File

@@ -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;