aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorFlorian Larysch2015-04-05 15:25:45 +0200
committerFlorian Larysch2015-04-05 15:25:45 +0200
commit7d6292c6a99b5ebdf797dd99cf059fc6c5687a08 (patch)
tree1cb621d825dfd8c3805836fbe097c44213d69124 /model
parentad8179841aa5826696d4344756af771baf26af70 (diff)
relive: ignore talks in "not_running" state
Diffstat (limited to 'model')
-rw-r--r--model/Relive.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/model/Relive.php b/model/Relive.php
index aa081a6..912e492 100644
--- a/model/Relive.php
+++ b/model/Relive.php
@@ -31,6 +31,9 @@ class Relive extends ModelBase
$talks_by_id = array();
foreach ($talks as $talk)
{
+ if($talk['status'] == 'not_running')
+ continue;
+
if($talk['status'] == 'released')
$talk['url'] = $talk['release_url'];
else