- Changing -3 to PHP constant
This commit is contained in:
parent
1593313805
commit
89a4c2e1e3
|
@ -958,7 +958,7 @@ class Application_Model_StoredFile {
|
|||
$this->setSoundCloudErrorCode($code);
|
||||
$this->setSoundCloudErrorMsg($msg);
|
||||
// setting sc id to -3 which indicates error
|
||||
$this->setSoundCloudFileId(-3);
|
||||
$this->setSoundCloudFileId(SOUNDCLOUD_ERROR);
|
||||
if(!in_array($code, array(0, 100))) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue