CC-5896: Store cloud files in separate table, inherited from cc_files
For cloud files, return the original filename when downloading a file instead of the cloud object name
This commit is contained in:
parent
ecb072b84c
commit
f6aa2e5a3b
2 changed files with 2 additions and 3 deletions
|
@ -84,8 +84,7 @@ class CcFiles extends BaseCcFiles {
|
|||
|
||||
public function getAbsoluteFilePath()
|
||||
{
|
||||
$music_dir = Application_Model_MusicDir::getDirByPK($this->
|
||||
_file->getDbDirectory());
|
||||
$music_dir = Application_Model_MusicDir::getDirByPK($this->getDbDirectory());
|
||||
if (!$music_dir) {
|
||||
throw new Exception("Invalid music_dir for file in database.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue