CC-2833: Use ClassLoaders for PHP Files
-autoload AtSoundcloud class
This commit is contained in:
parent
dfe43c98bb
commit
b8838a5bda
4 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
require_once 'soundcloud-api/Services/Soundcloud.php';
|
||||
|
||||
class ATSoundcloud {
|
||||
class Application_Model_AtSoundcloud {
|
||||
|
||||
private $_soundcloud;
|
||||
|
||||
|
|
|
@ -924,7 +924,7 @@ class Application_Model_StoredFile {
|
|||
$release = $file->getDbYear();
|
||||
|
||||
try {
|
||||
$soundcloud = new ATSoundcloud();
|
||||
$soundcloud = new Application_Model_AtSoundcloud();
|
||||
$soundcloud_id = $soundcloud->uploadTrack($this->getFilePath(), $this->getName(), $description, $tag, $release, $genre);
|
||||
$this->setSoundCloudFileId($soundcloud_id);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue