fix sample
This commit is contained in:
parent
13353cc4a5
commit
34cc535314
1 changed files with 1 additions and 4 deletions
|
@ -9,9 +9,6 @@ use kekskurse\mobilizon\Mobilizon;
|
|||
use kekskurse\mobilizon\MobilizonAddress;
|
||||
use kekskurse\mobilizon\MobilizonEvent;
|
||||
|
||||
$token = "overwrite in config.php";
|
||||
include("config.php");
|
||||
|
||||
$client = new Client([
|
||||
"base_uri" => "https://events.gutes.team",
|
||||
'timeout' => 2.0,
|
||||
|
@ -23,7 +20,7 @@ $client = new Client([
|
|||
//Calculate the next 3 Events for OpenSpace
|
||||
$date = new DateTime('next tuesday');
|
||||
$dateList = [$date];
|
||||
for($i = 1; $i < 1; $i++) {
|
||||
for($i = 1; $i < 4; $i++) {
|
||||
$newDate = clone end($dateList);
|
||||
$newDate->modify('+7 days');
|
||||
$dateList[] = $newDate;
|
||||
|
|
Loading…
Reference in a new issue