AddOn/Calender_Office365_User/calendar.php aktualisiert
This commit is contained in:
parent
e408f1e0ca
commit
e572fcbf35
|
|
@ -69,7 +69,6 @@ if (isset($_GET['delete'])) {
|
|||
|
||||
}
|
||||
|
||||
|
||||
// Termin erstellen
|
||||
if(isset($_GET['create'])){
|
||||
$event = [
|
||||
|
|
@ -93,6 +92,13 @@ if(isset($_GET['create'])){
|
|||
echo json_encode($response, JSON_PRETTY_PRINT);
|
||||
}
|
||||
|
||||
|
||||
if(isset($_GET['eventId'])) {
|
||||
$event = $calendar->getEventById($eventId);
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($event, JSON_PRETTY_PRINT);
|
||||
exit();
|
||||
}
|
||||
$events = $calendar->getEvents(); // eigene Funktion in OutlookCalendar-Klasse
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($events, JSON_PRETTY_PRINT);
|
||||
|
|
|
|||
Loading…
Reference in New Issue