Basic implementation event signup

This commit is contained in:
2024-05-27 16:59:30 +02:00
parent a66f2d2422
commit a69d83bc0a
321 changed files with 138376 additions and 644 deletions

View File

@ -0,0 +1,16 @@
<?php
namespace Bdp\Modules\EventParticipants\Controllers;
use Bdp\Modules\EventParticipants\Models\EventGroup;
use Bdp\Modules\EventParticipants\Models\EventParticipant;
class OpenEvent {
public function __construct() {
global $_REQUEST, $dbHandler;
$dbHandler->updateRows(MainController::KOMPASS_EVENTS_EVENTS, ['signup_allowed' => true], ['id' => $_REQUEST['event-id']]);
kompass_print_message_box(__('Event opened for signup', BDP_LV_PLUGIN_SLUG));
new ListEventsController();
}
}