CC-3687 : Remove context menus from recorded shows since they are blank.
This commit is contained in:
parent
a79514c8ee
commit
df4cdfb07e
3 changed files with 20 additions and 6 deletions
|
@ -120,14 +120,10 @@ class Application_Model_ShowInstance {
|
|||
{
|
||||
$file_id = $this->_showInstance->getDbRecordedFile();
|
||||
|
||||
if(isset($file_id)) {
|
||||
if (isset($file_id)) {
|
||||
$file = Application_Model_StoredFile::Recall($file_id);
|
||||
|
||||
if (PEAR::isError($file)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if(file_exists($file->getFilePath())) {
|
||||
if (isset($file) && file_exists($file->getFilePath())) {
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue