CC-2562 : Allow users to convert linked files into watched directories
This commit is contained in:
parent
0b5e3a54b4
commit
96284a2a44
3 changed files with 15 additions and 5 deletions
|
@ -449,11 +449,11 @@ class ApiController extends Zend_Controller_Action
|
|||
|
||||
if (is_null($file)) {
|
||||
$file = StoredFile::Insert($md);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$this->view->error = "File already exists in Airtime.";
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
else if ($mode == "modify") {
|
||||
$filepath = $md['MDATA_KEY_FILEPATH'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue