CC-4992:
Decouple pypo from Airtime install -first commit
This commit is contained in:
parent
7cf11b820a
commit
f39f9329cc
4 changed files with 116 additions and 87 deletions
|
@ -136,7 +136,7 @@ class Application_Model_Scheduler
|
|||
|
||||
if ($type === "audioclip") {
|
||||
$file = CcFilesQuery::create()->findPK($id, $this->con);
|
||||
$storedFile = new Application_Model_StoredFile($file->getDbId());
|
||||
$storedFile = new Application_Model_StoredFile($file, $this->con);
|
||||
|
||||
if (is_null($file) || !$file->visible()) {
|
||||
throw new Exception(_("A selected File does not exist!"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue