SAAS-540: Change the Provisioning Controller's terminate endpoint to reflect new S3 file prefix

This commit is contained in:
drigato 2015-01-16 11:09:13 -05:00
parent 7930ae97ae
commit 57a7218a79
4 changed files with 12 additions and 14 deletions

View file

@ -28,14 +28,6 @@ class ProvisioningController extends Zend_Controller_Action
$proxyStorageBackend->deleteAllCloudFileObjects();
}
//check at to make sure cloud_file table is empty
if (CloudFileQuery::create()->count() > 0) {
$this->getResponse()
->setHttpResponseCode(400)
->appendBody("ERROR: Not all cloud files were deleted.");
return;
}
$this->getResponse()
->setHttpResponseCode(200)
->appendBody("OK");