Ejemplo n.º 1
0
 /**
  * Delete a key/value array of metadata at the given path.
  *
  * @param  string $path
  * @param  array $options
  * @return void
  */
 public function deleteMetadata($path, $options = null)
 {
     try {
         $this->_storageClient->setBlobMetadata($this->_container, $destinationPath, array());
     } catch (Zend_Service_WindowsAzure_Exception $e) {
         if (strpos($e->getMessage(), "could not be accessed") === false) {
             throw new Zend_Cloud_StorageService_Exception('Error on delete metadata: ' . $e->getMessage(), $e->getCode(), $e);
         }
     }
 }