예제 #1
0
파일: S3.php 프로젝트: rakesh-mohanta/scalr
 public function xDeleteBucketAction()
 {
     $amazonS3 = new AmazonS3($this->environment->getPlatformConfigValue(Modules_Platforms_Ec2::ACCESS_KEY), $this->environment->getPlatformConfigValue(Modules_Platforms_Ec2::SECRET_KEY));
     $response = $amazonS3->DeleteBucket($this->getParam('bucketName'));
     $this->response->success('Bucket successfully deleted');
 }