public function delete($id) {
        $config = $this->getConfig();

        try {
            $this->getClient()->deleteArchive(array_filter(array(
                'vaultName' => $config['vault'],
                'accountId' => $config['accountId'],
                'archiveId' => $id
            )));
        } catch (GlacierException $e) {
            return false;
        }

        return true;
    }
public function delete($id) {
        $config = $this->getConfig();

        try {
            $this->getClient()->deleteArchive(array_filter(array(
                'vaultName' => $config['vault'],
                'accountId' => $config['accountId'],
                'archiveId' => $id
            )));
        } catch (GlacierException $e) {
            return false;
        }

        return true;
    }
public function delete ( $ id ) { $ config = $ this -> getConfig ( ) ; try { $ this -> getClient ( ) -> deleteArchive ( array_filter ( array ( 'vaultName' => $ config [ 'vault' ] , 'accountId' => $ config [ 'accountId' ] , 'archiveId' => $ id ) ) ) ; } catch ( GlacierException $ e ) { return false ; } return true ; }
Delete a file from Amazon Glacier using the archive ID.

@param string $id
@return bool
Delete a file from Amazon Glacier using the archive ID .