CC-5709: Airtime Analyzer
* Some cleanup and refactoring for file deletion in the Media REST API * Fix the refresh timer on the Add Media page when there's pending imports.
This commit is contained in:
parent
6952902b22
commit
db2b52a1bf
5 changed files with 35 additions and 8 deletions
|
@ -301,7 +301,9 @@ SQL;
|
|||
public static function getDirByPK($pk)
|
||||
{
|
||||
$dir = CcMusicDirsQuery::create()->findPK($pk);
|
||||
|
||||
if (!$dir) {
|
||||
return null;
|
||||
}
|
||||
$mus_dir = new Application_Model_MusicDir($dir);
|
||||
|
||||
return $mus_dir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue