aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
Diffstat (limited to 'model/Room.php')
-rw-r--r--model/Room.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/model/Room.php b/model/Room.php
index ad4d58d..b0f700a 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -373,7 +373,7 @@ class Room
throw new NotFoundException('Selection '.$selection.' in Room '.$this->getSlug());
$translation_label = null;
- if ($language !== 'native' && $language !== 'stereo') {
+ if ($language !== 'native') {
if (! $this->hasTranslation()) {
throw new NotFoundException('Translated Streams of Room '. $this->getSlug());
}
@@ -389,9 +389,6 @@ class Room
public function createStreamObject($selection, $language = 'native', $languageLabel = null)
{
- if($language == 'native' && $this->hasStereo())
- $language = 'stereo';
-
return new Stream($this, $selection, $language, $languageLabel);
}
}