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'); }