forked from Krautspace/webseite-krautspace
logmeldungen auskommentiert
This commit is contained in:
parent
208e740f6e
commit
d33426976c
1 changed files with 3 additions and 3 deletions
|
@ -219,7 +219,7 @@ function toGerman(string $day): ?string
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function printEventList(): bool {
|
function printEventList(): bool {
|
||||||
error_log("getEvents called");
|
// error_log("getEvents called");
|
||||||
date_default_timezone_set("Europe/Berlin");
|
date_default_timezone_set("Europe/Berlin");
|
||||||
$today_datetime = new DateTime();
|
$today_datetime = new DateTime();
|
||||||
date_time_set($today_datetime, 0, 0, 0, 0);
|
date_time_set($today_datetime, 0, 0, 0, 0);
|
||||||
|
@ -239,7 +239,7 @@ function printEventList(): bool {
|
||||||
|
|
||||||
$eventlist = grabEvents($vcalendar);
|
$eventlist = grabEvents($vcalendar);
|
||||||
if ($eventlist == null) {
|
if ($eventlist == null) {
|
||||||
error_log("gabEvent returns null");
|
error_log("grabEvent returns null");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
elseif (count($eventlist) == 0) {
|
elseif (count($eventlist) == 0) {
|
||||||
|
@ -289,7 +289,7 @@ function printEventList(): bool {
|
||||||
foreach ($next_events as $event) {
|
foreach ($next_events as $event) {
|
||||||
printEvent($event, $date_helper);
|
printEvent($event, $date_helper);
|
||||||
}
|
}
|
||||||
error_log("getEvents successful terminated");
|
// error_log("getEvents successful terminated");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue