diff --git a/airtime_mvc/application/cloud_storage/Amazon_S3StorageBackend.php b/airtime_mvc/application/cloud_storage/Amazon_S3StorageBackend.php index 406e81016..e2b6a1ba6 100644 --- a/airtime_mvc/application/cloud_storage/Amazon_S3StorageBackend.php +++ b/airtime_mvc/application/cloud_storage/Amazon_S3StorageBackend.php @@ -60,8 +60,7 @@ class Amazon_S3StorageBackend extends StorageBackend public function getFilePrefix() { - $clientCurrentAirtimeProduct = Billing::getClientCurrentAirtimeProduct(); - $hostingId = $clientCurrentAirtimeProduct["id"]; + $hostingId = Billing::getClientInstanceId(); return substr($hostingId, -2)."/".$hostingId; } }