mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 14:44:21 +00:00
trying to fix end of conference foo
This commit is contained in:
parent
981734757e
commit
cb3bbbfd3a
1 changed files with 2 additions and 6 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue