diff options
Diffstat (limited to 'pages/relive.php')
-rw-r--r-- | pages/relive.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/pages/relive.php b/pages/relive.php index 362af34..33e0d5a 100644 --- a/pages/relive.php +++ b/pages/relive.php @@ -2,17 +2,8 @@ require_once('lib/bootstrap.php'); -$talks = file_get_contents(get('OVERVIEW.RELIVE_JSON')); -$talks = utf8_decode($talks); -$talks = json_decode($talks, true); - -usort($talks, function($a, $b) { - $sort = array('live', 'recorded', 'released'); - return array_search($a['status'], $sort) > array_search($b['status'], $sort); -}); - echo $tpl->render(array( 'page' => 'relive', 'title' => 'Relive!', - 'talks' => $talks, + 'talks' => relive_talks(), )); |