aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
authorAnton Schubert2020-05-07 23:42:45 +0200
committerAnton Schubert2020-05-07 23:42:45 +0200
commit2947bf6f6ca270f3381e890af6192c68b2443c7d (patch)
treee699024a68aa2598516ddcea2b60406641764627 /model/Room.php
parent262496ad0805b47c878fb9db13573c4588c3a3a7 (diff)
remove obsolete stereo flag
Diffstat (limited to '')
-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);
}
}