CC-2873: Use PHP constants
- done
This commit is contained in:
parent
b8c2c5dfb1
commit
e1fe877ac6
3 changed files with 6 additions and 2 deletions
|
@ -413,7 +413,7 @@ class ApiController extends Zend_Controller_Action
|
|||
$this->setSoundCloudErrorCode($code);
|
||||
$this->setSoundCloudErrorMsg($msg);
|
||||
// setting sc id to -3 which indicates error
|
||||
$this->setSoundCloudFileId(-3);
|
||||
$this->setSoundCloudFileId(SC_ERROR);
|
||||
if(!in_array($code, array(0, 100))) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue