diff options
author | MaZderMind | 2016-12-11 21:46:54 +0100 |
---|---|---|
committer | MaZderMind | 2016-12-11 21:46:54 +0100 |
commit | 9c7bccc3f2cc226cd5043752403e4c5d39c8b5b5 (patch) | |
tree | 04c5dbfe7aca33b6e481a5ddc3ea3d2361a62e76 /model | |
parent | 284878f0f9917b55359cd464b86508cacc472653 (diff) |
access relive config through relive-model
Diffstat (limited to 'model')
-rw-r--r-- | model/Conference.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/model/Conference.php b/model/Conference.php index 6c14746..8d387a0 100644 --- a/model/Conference.php +++ b/model/Conference.php @@ -140,10 +140,10 @@ class Conference extends ModelBase } public function hasRelive() { - return $this->has('CONFERENCE.RELIVE_JSON'); + return $this->getRelive()->isEnabled(); } public function getReliveUrl() { - if($this->has('CONFERENCE.RELIVE_JSON')) + if($this->getRelive()->isEnabled()) return joinpath([$this->getSlug(), 'relive']).url_params(); else |