CC-2503: replacing UI_MDATA_KEY_TITLE with MDATA_KEY_TITLE
-fixed
This commit is contained in:
parent
6de8b09184
commit
75ea77e6a6
3 changed files with 2 additions and 5 deletions
|
@ -805,7 +805,7 @@ class StoredFile {
|
|||
die('{"jsonrpc" : "2.0", "error" : {"code": 101, "message": ' . $duplicate->getMessage() .'}}');
|
||||
}
|
||||
if (file_exists($duplicate->getFilePath())) {
|
||||
$duplicateName = $duplicate->getMetadataValue(UI_MDATA_KEY_TITLE);
|
||||
$duplicateName = $duplicate->getMetadataValue(MDATA_KEY_TITLE);
|
||||
die('{"jsonrpc" : "2.0", "error" : {"code": 101, "message": "An identical audioclip named ' . $duplicateName . ' already exists in the storage server."}}');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue