aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Room.php18
1 files changed, 1 insertions, 17 deletions
diff --git a/model/Room.php b/model/Room.php
index 897bcbd..b0f700a 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -184,10 +184,6 @@ class Room
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.HD_VIDEO');
}
- public function hasVideo() {
- return $this->hasSdVideo() || $this->hasHdVideo();
- }
-
public function hasAudio() {
return $this->getConference()->get('ROOMS.'.$this->getSlug().'.AUDIO');
}
@@ -262,12 +258,6 @@ class Room
if($this->hasMusic())
$selections[] = 'music';
- if($this->hasHdVideo())
- $selections[] = 'hd';
-
- if($this->hasSdVideo())
- $selections[] = 'sd';
-
if($this->hasSlides())
$selections[] = 'slides';
@@ -291,9 +281,6 @@ class Room
if($this->hasMusic())
$tabs[] = 'music';
- if($this->hasVideo())
- $tabs[] = 'video';
-
if($this->hasSlides())
$tabs[] = 'slides';
@@ -386,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());
}
@@ -402,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);
}
}