From e3dadd1dae5ef1c28cb54eb20c4050c02d41947a Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 14 Jul 2015 01:28:36 +0200 Subject: [PATCH] renaming --- src/Deblan/Command/{ListCommand.php => StreamsCommand.php} | 2 +- src/Deblan/Helper/LiveCoding.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) rename src/Deblan/Command/{ListCommand.php => StreamsCommand.php} (99%) diff --git a/src/Deblan/Command/ListCommand.php b/src/Deblan/Command/StreamsCommand.php similarity index 99% rename from src/Deblan/Command/ListCommand.php rename to src/Deblan/Command/StreamsCommand.php index 6f34355..1089eb6 100644 --- a/src/Deblan/Command/ListCommand.php +++ b/src/Deblan/Command/StreamsCommand.php @@ -8,7 +8,7 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Command\Command; use Exception; -class ListCommand extends Command +class StreamsCommand extends Command { protected function configure() { diff --git a/src/Deblan/Helper/LiveCoding.php b/src/Deblan/Helper/LiveCoding.php index 55e968b..3cb7588 100644 --- a/src/Deblan/Helper/LiveCoding.php +++ b/src/Deblan/Helper/LiveCoding.php @@ -47,7 +47,6 @@ class LiveCoding public function getStreams($language = null, $difficulty = null) { - $content = file_get_contents($this->app->buildUrl(sprintf( 'livestreams/%s%s', $language !== null ? $language.'/' : 'all',