CC-2873: Soundcloud plugin doesn't log any error when there is an error

with soundcloud uploading through api controller

- Changed constant names
- added -1 constant
This commit is contained in:
James 2011-09-29 10:30:40 -04:00
parent 9cba129936
commit 1c652b6416
3 changed files with 5 additions and 4 deletions

View file

@ -60,6 +60,6 @@ if(count($argv) != 2){
$id = $argv[1];
$file = Application_Model_StoredFile::Recall($id);
// set id with -2 which is indicator for processing
$file->setSoundCloudFileId(SC_PROGRESS);
$file->setSoundCloudFileId(SOUNDCLOUD_PROGRESS);
$file->uploadToSoundCloud();