trying to fix end of conference foo

This commit is contained in:
Lukas Schauer 2023-01-05 17:58:27 +01:00
parent 981734757e
commit cb3bbbfd3a
No known key found for this signature in database
GPG key ID: 9C4DBE6CF438F333

View file

@ -112,12 +112,8 @@ class ConferenceJson extends Conference
return false;
}
if($this->end) {
$now = new DateTime('now');
return $now >= $this->end;
} else {
return false;
}
$now = new DateTime('now');
return $now >= $this->end;
}
public function getRooms()