CC-4790: Media Monitor: Re-added files won't show up in Library
-fixed
This commit is contained in:
parent
0612a595c9
commit
1ee90ed9b9
|
@ -490,6 +490,7 @@ class ApiController extends Zend_Controller_Action
|
|||
// If the file already exists we will update and make sure that
|
||||
// it's marked as 'exists'.
|
||||
$file->setFileExistsFlag(true);
|
||||
$file->setFileHiddenFlag(false);
|
||||
$file->setMetadata($md);
|
||||
}
|
||||
if ($md['is_record'] != 0) {
|
||||
|
|
|
@ -1184,6 +1184,11 @@ SQL;
|
|||
$this->_file->setDbFileExists($flag)
|
||||
->save();
|
||||
}
|
||||
public function setFileHiddenFlag($flag)
|
||||
{
|
||||
$this->_file->setDbHidden($flag)
|
||||
->save();
|
||||
}
|
||||
public function setSoundCloudUploadTime($time)
|
||||
{
|
||||
$this->_file->setDbSoundCloundUploadTime($time)
|
||||
|
|
Loading…
Reference in New Issue